WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes
From: "Mike D. Day" <ncmike@xxxxxxxxxx>
Date: 2006年1月12日 14:11:10 -0500
Cc: Greg KH <greg@xxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Delivery-date: 2006年1月12日 19:17:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43C6A70D.8010902@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43C53DA0.60704@xxxxxxxxxx> <20060111230704.GA32558@xxxxxxxxx> <43C5A199.1080708@xxxxxxxxxx> <20060112005710.GA2936@xxxxxxxxx> <43C5B59C.8050908@xxxxxxxxxx> <43C65196.8040402@xxxxxxx> <1137072089.2936.29.camel@xxxxxxxxxxxxxxxxxxxxx> <43C66ACC.60408@xxxxxxx> <20060112173926.GD10513@xxxxxxxxx> <43C6A5B4.80801@xxxxxxxxxx> <1137092120.2936.55.camel@xxxxxxxxxxxxxxxxxxxxx> <43C6A70D.8010902@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Macintosh/20051201)
Anthony Liguori wrote:
Arjan van de Ven wrote:
On Thu, 2006年01月12日 at 12:53 -0600, Anthony Liguori wrote:
We wish to make management hypercalls as the root user in userspace which means we have to go through the kernel. Currently, we do this
by having /proc/xen/privcmd accept an ioctl() that takes a structure
that describe the register arguments. The kernel interface allows us to control who in userspace can execute hypercalls.
ioctls on proc is evil though (so is ioctl-on-sysfs). It's a device not
a proc file!
I full heartedly agree with you :-)
What about making hypercalls via with a read/write interface into memory mapped by a char device? Any problems with that approach?
Mike
--
Mike D. Day
STSM and Architect, Open Virtualization
IBM Linux Technology Center
ncmike@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes , Anthony Liguori
Next by Date: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes , Mike D. Day
Previous by Thread: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes , Anthony Liguori
Next by Thread: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes , Greg KH
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /