]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Implement set vcpu intr for kvm
authorTianrui Zhao <zhaotianrui@loongson.cn>
Wed, 10 Jan 2024 09:41:52 +0000 (10:41 +0100)
committerSong Gao <gaosong@loongson.cn>
Thu, 11 Jan 2024 11:22:32 +0000 (19:22 +0800)
commit8dcbad5128b5dc855f687d562ac223b06f2259a4
tree7925fc492fcd19660b21b107e8fe579ecb4ad0b0
parent2d45085a72342f617a5dbed6acdf105f65041a52
target/loongarch: Implement set vcpu intr for kvm

Implement loongarch kvm set vcpu interrupt interface,
when a irq is set in vcpu, we use the KVM_INTERRUPT
ioctl to set intr into kvm.

Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: xianglai li <lixianglai@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-ID: <20240105075804.1228596-9-zhaotianrui@loongson.cn>
[PMD: Split from bigger patch, part 2]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240110094152.52138-2-philmd@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
target/loongarch/cpu.c
target/loongarch/kvm/kvm.c
target/loongarch/kvm/kvm_loongarch.h [new file with mode: 0644]
target/loongarch/trace-events