[Qemu-devel] [PATCH] hw/i386: add legacy cpu hotplug for pc-lite

2018-10-02 Thread wei . guo . simon
From: Simon Guo Currently pc-lite cpu hot plug will leads to error like: "acpi: device plug request for not supported device type: host-x86_64-cpu" . However pc_lite_machine_options() didn't setup flag legacy_cpu_hotplug correctly, which will leads to a later mess state, and causes the error abo

[Qemu-devel] [PATCH] PowerPC: Add TM bits into msr_mask

2018-02-27 Thread wei . guo . simon
From: Simon Guo During migration, cpu_post_load() will use msr_mask to determine which PPC MSR bits will be sync to the target side. Hardware Transaction Memory(HTM) has been supported since Power8. This patch adds TM/TS bits into msr_mask for Power8, so that transactional application can be migr

[Qemu-devel] [PATCH v2] PowerPC: Add TS bits into msr_mask

2018-03-05 Thread wei . guo . simon
From: Simon Guo During migration, after MSR bits is synced, cpu_post_load() will use msr_mask to determine which PPC MSR bits will be applied into the target side. Hardware Transaction Memory(HTM) has been supported since Power8, but TS0/TS1 bit was not in msr_mask yet. That will prevent target K