diff options
author | Avi Kivity <avi@qumranet.com> | 2007-03-05 17:46:05 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 07:52:24 (GMT) |
commit | 1961d276c877b99f5f16aaf36377c75e0e191c3a (patch) | |
tree | 4ea92fc2821bd0f9013ee567ee2f11c6cc532d79 /drivers/kvm/kvm.h | |
parent | 6722c51c51518af9581ab6cd9b6aec93774334a6 (diff) | |
download | linux-fsl-qoriq-1961d276c877b99f5f16aaf36377c75e0e191c3a.tar.xz |
KVM: Add guest mode signal mask
Allow a special signal mask to be used while executing in guest mode. This
allows signals to be used to interrupt a vcpu without requiring signal
delivery to a userspace handler, which is quite expensive. Userspace still
receives -EINTR and can get the signal via sigwait().
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index be3a0e7..1c4a581 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -277,6 +277,9 @@ struct kvm_vcpu { gpa_t mmio_phys_addr; int pio_pending; + int sigset_active; + sigset_t sigset; + struct { int active; u8 save_iopl; |