Re: [libvirt] [PATCH] conf: fix use the wrong type for period

2015-03-15 Thread lhuang
On 03/13/2015 10:38 PM, Martin Kletzander wrote: On Fri, Mar 13, 2015 at 05:15:32PM +0800, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1140958 When we set period as unsigned int max value 4294967295 and start the vm, qemu will report error. This becuase we define period as

[libvirt] [PATCH] conf: fix use the wrong type for period

2015-03-13 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1140958 When we set period as unsigned int max value 4294967295 and start the vm, qemu will report error. This becuase we define period as a unsigned int and parse it as a unsigned int, but we use it as a int when set it via QMP in

Re: [libvirt] [PATCH] conf: fix use the wrong type for period

2015-03-13 Thread Martin Kletzander
On Fri, Mar 13, 2015 at 05:15:32PM +0800, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1140958 When we set period as unsigned int max value 4294967295 and start the vm, qemu will report error. This becuase we define period as a unsigned int and parse it as a unsigned int, but