[libvirt] [PATCH 2/6] Tests for CPU selection in qemu driver

Jiri Denemark jdenemar at redhat.com
Mon Apr 19 11:53:08 UTC 2010


> > +++ b/tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.xml
> > @@ -0,0 +1,28 @@
> > +<domain type='qemu'>
> > +  <name>QEMUGuest1</name>
> > +  <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
> 
> > +++ b/tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2.xml
> > @@ -0,0 +1,35 @@
> > +<domain type='qemu'>
> > +  <name>QEMUGuest1</name>
> > +  <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
> 
> Is reusing the same UUID going to bite us later, especially when running
> tests in parallel?

Quite likely in case we start running tests in parallel. But now we don't
start them in parallel and all XMLs in qemuxml2argvdata use the exact same
UUID and name so reusing them seems to be consistent.

Jirka




More information about the libvir-list mailing list