Re: [PATCH 06/18] qemumonitorjsontest: Test qemuMonitorJSONGetCPUInfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/02/2013 11:09 AM, Michal Privoznik wrote:
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tests/qemumonitorjsontest.c | 77 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 77 insertions(+)
> 
> +                               "        {"
> +                               "            \"current\": false,"
> +                               "            \"CPU\": 2,"
> +                               "            \"pc\": -2130530478,"
> +                               "            \"halted\": true,"
> +                               "            \"thread_id\": 17624"
> +                               "        },"
> +                               "        {"
> +                               "            \"current\": false,"
> +                               "            \"CPU\": 3,"
> +                               "            \"pc\": -2130530478,"
> +                               "            \"halted\": true,"
> +                               "            \"thread_id\": 17625"
> +                               "        }"

In the past, we've had a bug report about the case when cpu ids returned
by this command are not contiguous.  Should you try that here, to make
sure we've handled it correctly?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]