mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
s390x/migration: Monitor commands for storage attributes
Add an "info" monitor command to non-destructively inspect the state of the storage attributes of the guest, and a normal command to toggle migration mode (useful for debugging). Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
903fd80b03
commit
f860d49753
5 changed files with 99 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
#define S390_STORAGE_ATTRIBUTES_H
|
||||
|
||||
#include <hw/qdev.h>
|
||||
#include "monitor/monitor.h"
|
||||
|
||||
#define TYPE_S390_STATTRIB "s390-storage_attributes"
|
||||
#define TYPE_QEMU_S390_STATTRIB "s390-storage_attributes-qemu"
|
||||
|
@ -74,4 +75,7 @@ static inline Object *kvm_s390_stattrib_create(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
void hmp_info_cmma(Monitor *mon, const QDict *qdict);
|
||||
void hmp_migrationmode(Monitor *mon, const QDict *qdict);
|
||||
|
||||
#endif /* S390_STORAGE_ATTRIBUTES_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue