Skip to content

Remove hardcoded xen-platform device initialization (v4)

Paul Durrant qemu-devel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesIn review

v3 from the cover letter

- Add test for xen_enabled() that went missing in v2

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Allow use of pc machine type (accel=xen) for Xen HVM domains.hw/i386/pc_piix.c+5 -35 replies
2/2Move hardcoded initialization of xen-platform device.hw/i386/pc_piix.c+7 -30 replies
2/2Move hardcoded initialization of xen-platform device.hw/i386/pc_piix.c+7 -32 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/2A-b A-b
2/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Remove hardcoded xen-platform device initialization (v4)

Because of concerns over backwards compatibility and a suggestion that xenfv should be retired in favour of using the pc machine type I have re- worked my original patch into 2 patches:

[PATCH 1/2] Allow use of pc machine type (accel=xen) for Xen HVM [PATCH 2/2] Move hardcoded initialization of xen-platform device.

Application of both these patches allows alternative pc machine types to be used with the accel=xen option, but preserves the hardcoded creation of the xen-platform device only for machine type xenfv.

v3:
- Add test for xen_enabled() that went missing in v2

v4:
- Remove erroneous whitespace hunk
- Replace hw_error() with fprintf()+exit(1)
- Add braces to single-line if