aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2025-05-08 10:59:48 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-28 19:35:54 +0200
commitb4b7fb5a773e1d2215c2aaa99789eca51914b78f (patch)
tree365716e969e8dcd815c1429071a1fda132e963dd /hw/avr/arduino.c
parent62a1a8b89d90cd3fbee0e6d38e6a4c0d833e978a (diff)
downloadqemu-b4b7fb5a773e1d2215c2aaa99789eca51914b78f.zip
qemu-b4b7fb5a773e1d2215c2aaa99789eca51914b78f.tar.gz
qemu-b4b7fb5a773e1d2215c2aaa99789eca51914b78f.tar.bz2
cpu: Don't set vcpu_dirty when guest_state_protected
QEMU calls kvm_arch_put_registers() when vcpu_dirty is true in kvm_vcpu_exec(). However, for confidential guest, like TDX, putting registers is disallowed due to guest state is protected. Only set vcpu_dirty to true with guest state is not protected when creating the vcpu. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250508150002.689633-43-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions