pc: Create pc_compat_*() functions
Making the older compat functions call the newer compat functions at thebeginning allows the older functions undo what's done by newer compatfunctions. e.g.: pc_compat_1_4() will be able to call pc_compat_1_5()and then set has_pvpanic=false....
pc: Don't prematurely explode QEMUMachineInitArgs
Don't explode QEMUMachineInitArgs before passing it to pc_init1().
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Laszlo Ersek <lersek@redhat.com>Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>...
pc: Don't explode QEMUMachineInitArgs into local variables needlessly
Don't explode when the variable is used just a few times, and neverchanged.
pc: Kill pc_init_pci_1_0()
The pc_init_pci_1_2()/pc_init_pci_1_0() split was made on commit6fd028f64f662c801fd5a54d0e3a1d2baeee93ea, in preparation for commit9953f8822cc316eec9962f0a2858c3439a80adec. The latter was reverted, so there'sno reason to keep two separate functions that do exactly the same, anymore....
ppc: Don't duplicate QEMUMachineInitArgs in PPCE500Params
Pass on the generic arguments unadulterated, and the machine-specificones as separate argument.
Signed-off-by: Markus Armbruster <armbru@redhat.com>Acked-by: Alexander Graf <agraf@suse.de>Reviewed-by: Laszlo Ersek <lersek@redhat.com>...
ppc: Don't explode QEMUMachineInitArgs into local variables needlessly
Don't explode when the variable is used just once, and never changed.
sun4: Don't prematurely explode QEMUMachineInitArgs
Don't explode QEMUMachineInitArgs before passing it tosun4m_hw_init(), sun4uv_init().
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
q35: Add PCIe switch to example q35 configuration
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch_init: align MR size to target page size
Migration code assumes that each MR is a multiple of TARGET_PAGE_SIZE:MR size is divided by TARGET_PAGE_SIZE, so if it isn't migrationnever completes.But this isn't really required for regions set up withmemory_region_init_ram, since that calls qemu_ram_alloc...
loader: store FW CFG ROM files in RAM
ROM files that are put in FW CFG are copied to guest ram, by BIOS, butthey are not backed by RAM so they don't get migrated.
Each time we change two bytes in such a ROM this breaks cross-versionmigration: since we can migrate after BIOS has read the first byte but...
View all revisions | View revisions
Also available in: Atom