mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
pvpanic: create pvpanic by default for machine 1.5
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: f840042f0e1205041f8feaf0d39ca639884f3a00.1366945969.git.hutao@cn.fujitsu.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
b42ffe60d8
commit
3ab135f346
4 changed files with 29 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "qemu/log.h"
|
||||
|
||||
#include "hw/nvram/fw_cfg.h"
|
||||
#include "hw/i386/pc.h"
|
||||
|
||||
/* The bit of supported pv event */
|
||||
#define PVPANIC_F_PANICKED 0
|
||||
|
@ -107,6 +108,12 @@ static int pvpanic_isa_initfn(ISADevice *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int pvpanic_init(ISABus *bus)
|
||||
{
|
||||
isa_create_simple(bus, TYPE_ISA_PVPANIC_DEVICE);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static Property pvpanic_isa_properties[] = {
|
||||
DEFINE_PROP_UINT16("ioport", PVPanicState, ioport, 0x505),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue