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
<domainCapabilities>
<path>/usr/bin/qemu-system-s390x</path>
<domain>kvm</domain>
<machine>s390-ccw-virtio-2.8</machine>
<arch>s390x</arch>
<vcpu max='248'/>
<os supported='yes'>
<loader supported='yes'>
<enum name='type'>
<value>rom</value>
<value>pflash</value>
</enum>
<enum name='readonly'>
<value>yes</value>
<value>no</value>
</enum>
</loader>
</os>
<cpu>
<mode name='host-passthrough' supported='yes'/>
<mode name='host-model' supported='yes'>
<model fallback='allow'>host</model>
</mode>
<mode name='custom' supported='yes'>
<model usable='unknown'>z10EC</model>
<model usable='unknown'>z13s</model>
<model usable='unknown'>z13</model>
<model usable='unknown'>zEC12-base</model>
<model usable='unknown'>z890.3</model>
<model usable='unknown'>z890.2</model>
<model usable='unknown'>z196.2-base</model>
<model usable='unknown'>z890</model>
<model usable='unknown'>z990-base</model>
<model usable='unknown'>z900.2-base</model>
<model usable='unknown'>z114</model>
<model usable='unknown'>z13s-base</model>
<model usable='unknown'>z196-base</model>
<model usable='unknown'>z900</model>
<model usable='unknown'>z9BC</model>
<model usable='unknown'>z990.5-base</model>
<model usable='unknown'>zEC12.2</model>
<model usable='unknown'>zEC12.2-base</model>
<model usable='unknown'>zBC12-base</model>
<model usable='unknown'>z990</model>
<model usable='unknown'>z10BC-base</model>
<model usable='unknown'>z196.2</model>
<model usable='unknown'>z890.3-base</model>
<model usable='unknown'>z13.2</model>
<model usable='unknown'>z10EC.3</model>
<model usable='unknown'>z10EC.2</model>
<model usable='unknown'>z10BC.2</model>
<model usable='unknown'>host</model>
<model usable='unknown'>z9EC.3-base</model>
<model usable='unknown'>zEC12</model>
<model usable='unknown'>zBC12</model>
<model usable='unknown'>z10EC.3-base</model>
<model usable='unknown'>qemu</model>
<model usable='unknown'>z900.3-base</model>
<model usable='unknown'>z9BC-base</model>
<model usable='unknown'>z800-base</model>
<model usable='unknown'>z890-base</model>
<model usable='unknown'>z800</model>
<model usable='unknown'>z990.5</model>
<model usable='unknown'>z990.4</model>
<model usable='unknown'>z9EC.2-base</model>
<model usable='unknown'>z990.3</model>
<model usable='unknown'>z990.2</model>
<model usable='unknown'>z900.3</model>
<model usable='unknown'>z900.2</model>
<model usable='unknown'>z10EC-base</model>
<model usable='unknown'>z10EC.2-base</model>
<model usable='unknown'>z990.3-base</model>
<model usable='unknown'>z900-base</model>
<model usable='unknown'>z9BC.2-base</model>
<model usable='unknown'>z114-base</model>
<model usable='unknown'>z10BC.2-base</model>
<model usable='unknown'>z13.2-base</model>
<model usable='unknown'>z990.2-base</model>
<model usable='unknown'>z9EC-base</model>
<model usable='unknown'>z10BC</model>
<model usable='unknown'>z9EC</model>
<model usable='unknown'>z9EC.3</model>
<model usable='unknown'>z9EC.2</model>
<model usable='unknown'>z9BC.2</model>
<model usable='unknown'>z13-base</model>
<model usable='unknown'>z990.4-base</model>
<model usable='unknown'>z890.2-base</model>
<model usable='unknown'>z196</model>
</mode>
</cpu>
<devices>
<disk supported='yes'>
<enum name='diskDevice'>
<value>disk</value>
<value>cdrom</value>
<value>floppy</value>
<value>lun</value>
</enum>
<enum name='bus'>
<value>ide</value>
<value>fdc</value>
<value>scsi</value>
<value>virtio</value>
</enum>
</disk>
<graphics supported='yes'>
<enum name='type'>
<value>sdl</value>
<value>vnc</value>
</enum>
</graphics>
<video supported='yes'>
<enum name='modelType'>
<value>qxl</value>
<value>virtio</value>
</enum>
</video>
<hostdev supported='yes'>
<enum name='mode'>
<value>subsystem</value>
</enum>
<enum name='startupPolicy'>
<value>default</value>
<value>mandatory</value>
<value>requisite</value>
<value>optional</value>
</enum>
<enum name='subsysType'>
<value>usb</value>
<value>pci</value>
<value>scsi</value>
</enum>
<enum name='capsType'/>
<enum name='pciBackend'/>
</hostdev>
</devices>
<features>
<gic supported='no'/>
</features>
</domainCapabilities>