mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
s390x/async_pf: Check for apf extension and enable pfault
S390 can also use async page faults, to enhance guest scheduling. In case of live migration we want to disable the feature and let all pending request finish. Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
3a553fc658
commit
819bd3091e
4 changed files with 94 additions and 0 deletions
|
@ -121,6 +121,10 @@ typedef struct CPUS390XState {
|
|||
uint64_t cputm;
|
||||
uint32_t todpr;
|
||||
|
||||
uint64_t pfault_token;
|
||||
uint64_t pfault_compare;
|
||||
uint64_t pfault_select;
|
||||
|
||||
CPU_COMMON
|
||||
|
||||
/* reset does memset(0) up to here */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue