[libvirt] PATCH: Make VirtualBox domain IDs start from 1 instead of 0
veillard at redhat.com
Tue Apr 21 11:18:26 UTC 2009
On Tue, Apr 21, 2009 at 11:15:37AM +0100, Daniel P. Berrange wrote:
> The VirtualBox driver currently returns domain IDs starting from 0. The
> domain ID 0 is reserved for a special scenario. It refers to a guest which
> is also the host OS. ie its the guest in which libvirt is running. This
> guest will only exist in virtualization technology where there is a
> separate hypervisor / host OS, eg Xen or MicroSoft Hyper-V. Thus, it
> should be avoided for drivers like QEMU or VirtualBox.
> This patch simply rebases the virtualbox domain IDs to start from 1.
Makes sense, patch looks fine by me, ACK
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list