Re: [PATCH v2] hw/i386: Move save_tsc_khz from PCMachineClass to X86MachineClass

2019-11-18 Thread Paolo Bonzini
On 18/11/19 12:13, Liam Merwick wrote: > Attempting to migrate a VM using the microvm machine class results in the > source > QEMU aborting with the following message/backtrace: > > target/i386/machine.c:955:tsc_khz_needed: Object 0x56608fa0 is not an > instance of type generic-pc-machine >

Re: [PATCH v2] hw/i386: Move save_tsc_khz from PCMachineClass to X86MachineClass

2019-11-18 Thread Sergio Lopez
Liam Merwick writes: > Attempting to migrate a VM using the microvm machine class results in the > source > QEMU aborting with the following message/backtrace: > > target/i386/machine.c:955:tsc_khz_needed: Object 0x56608fa0 is not an > instance of type generic-pc-machine > > abort() > objec

[PATCH v2] hw/i386: Move save_tsc_khz from PCMachineClass to X86MachineClass

2019-11-18 Thread Liam Merwick
Attempting to migrate a VM using the microvm machine class results in the source QEMU aborting with the following message/backtrace: target/i386/machine.c:955:tsc_khz_needed: Object 0x56608fa0 is not an instance of type generic-pc-machine abort() object_class_dynamic_cast_assert() vmstate_sav