Xen requirments document
I've posted a version of our Xen requirements document at the following URL.
http://www.ncultra.org/xen/xen_req.html
I'm interested in comments from the community. We developed these requirements within IBM to guide our own prioritization, but have always intended to submit them to the community for review.
If there is interest in maintaining a document like this in the community, I would be willing to continue working on it in conjunction with others.
Mike
Signature · 7 lines
Mike D. Day STSM and Architect, Open Virtualization IBM Linux Technology Center 3039 Cornwallis Road Research Triangle Park, NC 27709 Phone: (919) 543-4283 [email protected]
Quoted 1 line · Mike D. Day
The spec looks good to me, just a few small comments:
core.smp.guest.virtual - running with vcpus > #cpus seems to work already, I'm doing this on a regular basis to test for bugs ;)
core.dynamic.memory - I'm not sure if it is possible yet to boot a domain with less memory than its maximum, and grow the domain's memory later through the balloon driver
we're missing an io.device.virt.discovery - in order to be able to install into, and manage, a virtual machine, the OS needs the ability to discover what virtual devices are present - exporting through sysfs would work fine. Since this is a requirement for many system administration tools (eg. kudzu), this should probably be a Xen v3.0 target
io.protocol.ipsec and io.protocol.ipv6 seem to just work, by virtue of Xen emulating ethernet instead of any particular protocol - at least ipv6 works in bridging mode, I haven't tried routed mode yet, nor ipsec
Signature · 3 lines
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
Quoted 3 lines
core.dynamic.memory - I'm not sure if it is possible yet to boot a domain with less memory than its maximum, and grow the domain's memory later through the balloon driver
It used to work but right now it seems to be broken (at least in the unstable tree).
Quoted 6 lines
we're missing an io.device.virt.discovery - in order to be able to install into, and manage, a virtual machine, the OS needs the ability to discover what virtual devices are present - exporting through sysfs would work fine. Since this is a requirement for many system administration tools (eg. kudzu), this should probably be a Xen v3.0 target
They do appear in sysfs, though, don't they? I remember that kudzu, anaconda, etc. didn't recognise them but I never knew why...
Quoted 4 lines
io.protocol.ipsec and io.protocol.ipv6 seem to just work, by virtue of Xen emulating ethernet instead of any particular protocol - at least ipv6 works in bridging mode, I haven't tried routed mode yet, nor ipsec
They *should* all work ;-)
Cheers,
Mark
Quoted 6 lines · Mark Williamson
Quoted 3 lines
core.dynamic.memory - I'm not sure if it is possible yet to boot a domain with less memory than its maximum, and grow the domain's memory later through the balloon driver
It used to work but right now it seems to be broken (at least in the unstable tree).
Hmmm, I'll look into it once I have xen working again in rawhide - this is a part of the kernel I know well enough.
Quoted 9 lines
Quoted 6 lines
we're missing an io.device.virt.discovery - in order to be able to install into, and manage, a virtual machine, the OS needs the ability to discover what virtual devices are present - exporting through sysfs would work fine. Since this is a requirement for many system administration tools (eg. kudzu), this should probably be a Xen v3.0 target
They do appear in sysfs, though, don't they? I remember that kudzu, anaconda, etc. didn't recognise them but I never knew why...
The thing is that a device only shows up in sysfs when a driver for it is already loaded. There is no "xen bus" that would allow kudzu to figure out which drivers to load...
Signature · 3 lines
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan