Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Jason J. Herne
On 11/03/2016 09:37 AM, Jiri Denemark wrote: On Wed, Nov 02, 2016 at 16:34:30 -0400, Jason J. Herne wrote: ... 2. virsh baseline and compare support. Both of these commands, for s390 at least, will need to spin up a Qemu session with monitor to compute the result. The only place I see this

Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Jiri Denemark
On Thu, Nov 03, 2016 at 10:19:23 -0400, Jason J. Herne wrote: > On 11/03/2016 09:37 AM, Jiri Denemark wrote: > > On Wed, Nov 02, 2016 at 16:34:30 -0400, Jason J. Herne wrote: > ... > > > >> 2. virsh baseline and compare support. > >> > >> Both of these commands, for s390 at least, will need to

Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Jiri Denemark
On Thu, Nov 03, 2016 at 14:41:25 +0100, Christian Borntraeger wrote: > On 11/03/2016 02:37 PM, Jiri Denemark wrote: > > Well, this should be correct, or is QEMU on s390 able to use -cpu host > > in TCG mode? > > > > > > > Does "virsh domcapabilities --virttype kvm" report host-passthrough as >

Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Christian Borntraeger
On 11/03/2016 02:37 PM, Jiri Denemark wrote: > On Wed, Nov 02, 2016 at 16:34:30 -0400, Jason J. Herne wrote: > ... >> Patch #5 updates qemuBuildCpuModelArgStr's VIR_CPU_MODE_HOST_MODEL case. It >> seems like all archs except PPC64 do not support host model mode. > > x86 supports host-model too,

Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Jiri Denemark
On Thu, Nov 03, 2016 at 14:39:39 +0100, Christian Borntraeger wrote: > On 11/03/2016 02:37 PM, Jiri Denemark wrote: > > On Wed, Nov 02, 2016 at 16:34:30 -0400, Jason J. Herne wrote: > > ... > >> Patch #5 updates qemuBuildCpuModelArgStr's VIR_CPU_MODE_HOST_MODEL case. It > >> seems like all archs

Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Christian Borntraeger
On 11/03/2016 02:37 PM, Jiri Denemark wrote: > Well, this should be correct, or is QEMU on s390 able to use -cpu host > in TCG mode? > > Does "virsh domcapabilities --virttype kvm" report host-passthrough as > supported? yes, this is what I get /usr/bin/qemu-system-s390x kvm

Re: [libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-03 Thread Jiri Denemark
On Wed, Nov 02, 2016 at 16:34:30 -0400, Jason J. Herne wrote: ... > Patch #5 updates qemuBuildCpuModelArgStr's VIR_CPU_MODE_HOST_MODEL case. It > seems like all archs except PPC64 do not support host model mode. x86 supports host-model too, but ppc64 (mis)used the host-model mode in a very

[libvirt] [RFC 0/5] Qemu: s390: Cpu Model Support

2016-11-02 Thread Jason J. Herne
Thanks for all your feedback up to this point. We've made some progress on this and we also have a few questions. Please let us know if we're on the right track or if we're off in the weeds on this. Here is what we have so far. Patch #1 updates s390's cpu driver to support some operations needed