qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] pc: Initialization and compat function cleanup
@ 2015-08-17 18:42 Eduardo Habkost
  2015-08-17 18:42 ` [Qemu-devel] [PATCH v2 1/4] pc: Remove redundant arguments from xen_hvm_init() Eduardo Habkost
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eduardo Habkost @ 2015-08-17 18:42 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: qemu-devel

Changes v1 -> v2:
* Fix build error on patch 1/4

This implements some extras code cleanups in the PC code:

* Move some local variables from pc_init1() and pc_q35_init() to
  PCMachineState, so initialization functions can get that info from a
  PCMachineState* argument directly
* Move some compat global variables to PCMachineClass,
  and move compatibility code from pc_compat_*() functions
  to the corresponding *_machine_options() function

Eduardo Habkost (4):
  pc: Remove redundant arguments from xen_hvm_init()
  pc: Move compat boolean globals to PCMachineClass
  pc: Move legacy_acpi_table_size global to PCMachineClass
  pc: Move acpi_data_size global to PCMachineClass

 hw/i386/pc.c         |  25 +++++-----
 hw/i386/pc_piix.c    | 130 ++++++++++++++++++++++++---------------------------
 hw/i386/pc_q35.c     |  60 +++++++++++-------------
 include/hw/i386/pc.h |  21 ++++++++-
 include/hw/xen/xen.h |   4 +-
 xen-hvm-stub.c       |   3 +-
 xen-hvm.c            |  25 +++++-----
 7 files changed, 135 insertions(+), 133 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-25  9:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17 18:42 [Qemu-devel] [PATCH v2 0/4] pc: Initialization and compat function cleanup Eduardo Habkost
2015-08-17 18:42 ` [Qemu-devel] [PATCH v2 1/4] pc: Remove redundant arguments from xen_hvm_init() Eduardo Habkost
2015-08-25  9:13   ` Marcel Apfelbaum
2015-08-17 18:42 ` [Qemu-devel] [PATCH v2 2/4] pc: Move compat boolean globals to PCMachineClass Eduardo Habkost
2015-08-17 18:42 ` [Qemu-devel] [PATCH v2 3/4] pc: Move legacy_acpi_table_size global " Eduardo Habkost
2015-08-17 18:42 ` [Qemu-devel] [PATCH v2 4/4] pc: Move acpi_data_size " Eduardo Habkost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).