[libvirt] [PATCH 1 of 2] Add internal cgroup manipulation functions

Daniel P. Berrange berrange at redhat.com
Wed Oct 1 22:10:33 UTC 2008

On Wed, Oct 01, 2008 at 02:11:24PM -0700, Dan Smith wrote:
> DB> Rather than rely on this virt type string - virt type is not
> DB> adding enough uniqueness - can still have a (virttype, name) clash
> DB> between 2 libvirt drivers. Name is unique per host, per driver, so
> DB> we'd want to have
> Hmm, I'm not sure I follow.  It seems like the virt type offers more
> uniqueness than driver name.

Both, Xen and QEMU drivers support a virt type of 'hvm'. If both
drivers have a domain called 'foo', then both would end up using 
a group of


Instead of  


Both of which are guarenteed unique

|: 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