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

Daniel P. Berrange berrange at redhat.com
Tue Apr 21 19:15:38 UTC 2009


On Tue, Apr 21, 2009 at 01:10:10PM +0200, Pritesh Kothari wrote:
> On Tuesday 21 April 2009 12:15:37 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.
> 
> oops, didn't knew this.

No problem - its a nice undocumented feature :-)

I've comitted this patch now.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list