xen: Fix crash of "-machine xenfv, accel=kvm"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pc: Require xen when initializing xenfv machinehw/ | +5 | 1 reply | |
| 2/2 | xen-platform: Ensure xen is enabled when initializinghw/ | +3 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/2] xen: Fix crash of "-machine xenfv, accel=kvm"
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(+)
Signature · 1 line
2.1.0