[libvirt] [PATCH] conf: don't fail to parse <boot> element when parsing a single device
Eric Blake
eblake at redhat.com
Thu Jan 17 16:52:07 UTC 2013
On 01/17/2013 09:29 AM, Laine Stump wrote:
> This resolves:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=895294
>
> The symptom was that attempts to modify a network device using
> virDomainUpdateDeviceFlags() would fail if the original device had a
> <boot> element (e.g. "<boot order='1'/>"), even if the updated device
> had the same <boot> element. Instead, the following error would be logged:
>
> cannot modify network device boot index setting
>
> It's true that it's not possible to change boot order (internally
> known as bootIndex) of a live device; qemuDomainChangeNet checks for
> that, but the problem was that the information it was checking was
> incorrect.
>
> Explanation:
<snipped>
Interesting how it takes a huge explanation to justify a one-line commit :)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130117/abd7d60d/attachment-0001.sig>
More information about the libvir-list
mailing list