]> Git Repo - qemu.git/commit - target-s390x/cpu.h
s390x/kvm: Put vm name, extended name and UUID into STSI322 SYSIB
authorEkaterina Tumanova <[email protected]>
Tue, 3 Mar 2015 17:35:27 +0000 (18:35 +0100)
committerCornelia Huck <[email protected]>
Thu, 30 Apr 2015 11:21:42 +0000 (13:21 +0200)
commitf07177a5599fb204e42a007db4820ceda1bc85ba
treede4db9887fb217bdf7e385339f6e1092a4543a7b
parent7a52ce8a160739c5d37469b0e344d3239eb86462
s390x/kvm: Put vm name, extended name and UUID into STSI322 SYSIB

KVM prefills the SYSIB, returned by STSI 3.2.2. This patch allows
userspace to intercept execution, and fill in the values, that are
known to qemu: machine name (8 chars), extended machine name (256
chars), extended machine name encoding (equals 2 for UTF-8) and UUID.

STSI322 qemu handler also finds a highest virtualization level in
level-3 virtualization stack that doesn't support Extended Names
(Ext Name delimiter) and propagates zero Ext Name to all levels below,
because this level is not capable of managing Extended Names of lower
levels.

Signed-off-by: Ekaterina Tumanova <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target-s390x/cpu.h
target-s390x/kvm.c
This page took 0.024853 seconds and 4 git commands to generate.