Re: [libvirt] [PATCH] conf: forbid negative number in address(like controller, bus, slot...)

2014-12-09 Thread Michal Privoznik
On 08.12.2014 09:27, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1171582 When we edit a negative controller address number to a device, some of them will auto generate a controller with invalid index number. This will make guest disappear after restart libvirtd. Instead of

Re: [libvirt] [PATCH] conf: forbid negative number in address(like controller, bus, slot...)

2014-12-09 Thread Luyao Huang
On 12/09/2014 06:38 PM, Michal Privoznik wrote: On 08.12.2014 09:27, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1171582 When we edit a negative controller address number to a device, some of them will auto generate a controller with invalid index number. This will make

[libvirt] [PATCH] conf: forbid negative number in address(like controller, bus, slot...)

2014-12-08 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1171582 When we edit a negative controller address number to a device, some of them will auto generate a controller with invalid index number. This will make guest disappear after restart libvirtd. Instead of allow negative number for controller index,