[libvirt] [PATCH v2] libvirt: xen: do not use ioemu type for any emulated NIC

Osier Yang jyang at redhat.com
Tue Apr 17 04:45:20 UTC 2012


On 2012年04月17日 11:38, Eric Blake wrote:
> On 04/16/2012 09:03 PM, Osier Yang wrote:
>> On 2012年04月17日 10:44, Eric Blake wrote:
>>> On 04/16/2012 08:05 PM, Osier Yang wrote:
>>>>> [09:31]    danpb1    eblake: the fact that we see that error message
>>>>> suggest a
>>>>> pre-existing bug in the test suite - the XML being used to define the
>>>>> test domain is missing a UUID
>>>>> [09:31]    danpb1    eblake: so the 2 repeated defines get different
>>>>> auto-generated UUIDs&    thus violate the uniqueness check
>>>>> [09:31]    danpb1    eblake: i expect if you fixed that problem, then
>>>>> you'd
>>>>> now see the 'define' operation actually suceed
>>>>
>>>> Not true, there is UUID in the dumped xml:
>>>
>>> A generated UUID - that is, we have a latent bug, in that since we
>>> aren't locking down a specific UUID, the generated one is different each
>>> time, and the test failed (as expected), but for the wrong reason
>>> (mismatch in UUID, instead of the intended failure due to a cpuset
>>> syntax error).
>>>
>>
>> Yeah, just because the cpuset syntax error comes up earlier before
>> the UUID checking. I post a patch to set the fixed UUID for the
>> objects which support UUID in test driver, see the attachment.
>
> ACK.
>

Two follow up patches, one is to update test read-bufsiz to delete
the UUID, as domain UUID for test driver is fixed now. The other
is to allow the parsing of "cpuset" if the "placement" is not
specified, but "cpuset" is specified, and in this case the "placement"
mode will be set as "static".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-conf-Do-not-parse-cpuset-only-if-the-placement-is-au.patch
Type: text/x-patch
Size: 1597 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120417/fe2f93df/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-Update-read-bufsiz-to-delete-the-UUID-of-vm-XM.patch
Type: text/x-patch
Size: 1128 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120417/fe2f93df/attachment-0003.bin>


More information about the libvir-list mailing list