Re: [libvirt] [PATCHv2 4/6] qemu: add architecture-specific CPU info handling

2018-03-26 Thread Viktor Mihajlovski
On 23.03.2018 17:08, John Ferlan wrote: [...] >> +static void >> +qemuMonitorJSONExtractCPUS390Info(virJSONValuePtr jsoncpu, >> + struct qemuMonitorQueryCpusEntry *cpu) >> +{ >> +const char *cpu_state = virJSONValueObjectGetString(jsoncpu, >> "cpu-state"); >> +

Re: [libvirt] [PATCHv2 4/6] qemu: add architecture-specific CPU info handling

2018-03-23 Thread John Ferlan
On 03/05/2018 06:44 AM, Viktor Mihajlovski wrote: > Extract architecture specific data from query-cpus[-fast] if > available. A new function qemuMonitorJSONExtractCPUArchInfo() > uses a call-back table to find and call architecture-specific > extraction handlers. > > Initially, there's a handler

[libvirt] [PATCHv2 4/6] qemu: add architecture-specific CPU info handling

2018-03-05 Thread Viktor Mihajlovski
Extract architecture specific data from query-cpus[-fast] if available. A new function qemuMonitorJSONExtractCPUArchInfo() uses a call-back table to find and call architecture-specific extraction handlers. Initially, there's a handler for s390 cpu info to set the halted property depending on the s