[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] xen: Fix crash of "-machine xenfv, accel=kvm"
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 0/2] xen: Fix crash of "-machine xenfv, accel=kvm" |
Date: |
Mon, 28 Sep 2015 17:01:22 -0300 |
This series fixes the following crash:
$ ./x86_64-softmmu/qemu-system-x86_64 -machine xenfv,accel=kvm
Segmentation fault (core dumped)
The crash happens because xen-platform calls xc_hvm_set_mem_type() with a NULL
xen_xc on reset, at platform_fixed_ioport_writeb().
Crash is replaced by the following error message:
$ ./x86_64-softmmu/qemu-system-x86_64 -machine xenfv,accel=kvm
qemu-system-x86_64: xenfv machine requires the xen accelerator
Eduardo Habkost (2):
pc: Require xen when initializing xenfv machine
xen-platform: Ensure xen is enabled when initializing
hw/i386/pc_piix.c | 5 +++++
hw/i386/xen/xen_platform.c | 3 +++
2 files changed, 8 insertions(+)
--
2.1.0
- [Qemu-devel] [PATCH 0/2] xen: Fix crash of "-machine xenfv, accel=kvm",
Eduardo Habkost <=