[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] PATCH: Make VirtualBox domain IDs start from 1 instead of 0



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

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]