Questions about interrupt injection

2014-03-26 Thread
Hi all, I want to implement a virtual pci device in qemu and when needed inject a virtual interrupt into the running guest. However, possibly this action would fail and crash the guest VM especially when the workload in guest is heavy. Qemu report the following errors: >KVM: entry failed, hardwar

Puzzles about unsync mmu page

2013-11-04 Thread
Hi all I notice that some fields in kvm_mmu_page struct record the unsync status of an mmu page. struct kvm_mmu_page { -> bool unsync; int root_count; /* Currently serving as active root */ -> unsigned int unsync_children; -> DECLARE_BITMAP(unsync_child_bitmap, 512);

nested migration issues

2013-08-27 Thread
Hi all I am doing a research project similar to "Turtles" using the nested vmx feature of kvm. In detail, I launch a guest kvm (donated as L1) on the underlying kvm (donated as L0) and then set up a nested guest (donated as L2) upon the L1 guest kvm. The problem I come up with is that I want to m