diff options
author | Bryan Cantrill <bryan@joyent.com> | 2011-07-26 23:31:00 -0700 |
---|---|---|
committer | Bryan Cantrill <bryan@joyent.com> | 2011-07-26 23:31:00 -0700 |
commit | 2fc56bd8e064a43bf64a8d580ad963035f7d6b84 (patch) | |
tree | 29e488d10d4a29539693b0554667ae76e23bd2da | |
parent | 3ba2ad4f4cc1bca8d1bc5121b9516acfb9688938 (diff) | |
download | illumos-kvm-cmd-2fc56bd8e064a43bf64a8d580ad963035f7d6b84.tar.gz |
HVM-529 KVM_SET_SIGNAL_MASK fails, causing hang on signal
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1364,7 +1364,7 @@ int kvm_set_signal_mask(CPUState *env, const sigset_t *sigset) sigmask = qemu_malloc(sizeof(*sigmask) + sizeof(*sigset)); - sigmask->len = 8; + sigmask->len = sizeof (sigset_t); memcpy(sigmask->sigset, sigset, sizeof(*sigset)); r = kvm_vcpu_ioctl(env, KVM_SET_SIGNAL_MASK, sigmask); free(sigmask); |