diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-05 14:30:52 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-12 15:28:20 +0200 |
| commit | 5f158abef44c7e0945fc5f76715ef135a9bf9bd2 (patch) | |
| tree | 9ccc46c32b60005137d59ed0d5c9707e8c47bea5 /python | |
| parent | 810fcc41fc572d90b3c05af3f06f451626ee6b10 (diff) | |
| download | focaccia-qemu-5f158abef44c7e0945fc5f76715ef135a9bf9bd2.tar.gz focaccia-qemu-5f158abef44c7e0945fc5f76715ef135a9bf9bd2.zip | |
target/i386: move accel_cpu_instance_init to .instance_init
With the reordering of instance_post_init callbacks that is new in 10.1 accel_cpu_instance_init must execute in .instance_init as is already the case for RISC-V. Otherwise, for example, setting the vendor property is broken when using KVM or Hypervisor.framework, because KVM sets it *after* the user's value is set by DeviceState's intance_post_init callback. Reported-by: Like Xu <like.xu.linux@gmail.com> Reported-by: Dongli Zhang <dongli.zhang@oracle.com> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions