mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
e91e972ccf
Whenever a reboot initiated by the guest is done, the reipl parameters should remain valid. The disk configured by the guest is to be used for ipl'ing. External reboot/reset request (e.g. via virsh reset guest) should completely reset the guest to the initial state, and therefore also reset the reipl parameters, resulting in an ipl behaviour of the initially configured guest. This could be an external kernel or a disk. Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Fan Zhang <zhangfan@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
26 lines
589 B
C
26 lines
589 B
C
/*
|
|
* s390 IPL device
|
|
*
|
|
* Copyright 2015 IBM Corp.
|
|
* Author(s): Zhang Fan <bjfanzh@cn.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
* your option) any later version. See the COPYING file in the top-level
|
|
* directory.
|
|
*/
|
|
|
|
#ifndef HW_S390_IPL_H
|
|
#define HW_S390_IPL_H
|
|
|
|
typedef struct IplParameterBlock {
|
|
uint8_t reserved1[110];
|
|
uint16_t devno;
|
|
uint8_t reserved2[88];
|
|
} IplParameterBlock;
|
|
|
|
int s390_ipl_update_diag308(IplParameterBlock *iplb);
|
|
IplParameterBlock *s390_ipl_get_iplb(void);
|
|
void s390_reipl_request(void);
|
|
|
|
#endif
|