summaryrefslogtreecommitdiff
path: root/epoll2.h
blob: 1ecf5f0b83ad5806feb3a683eaf8612ff57881e2 (plain)
1
2
3
4
5
6
7
#ifndef __EPOLL_H
#define __EPOLL_H

extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);

#endif /* __EPOLL_H */
trl'>mode:
authorDavid Matlack <dmatlack@google.com>2016-12-19 12:48:41 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-12-21 18:55:09 +0100
commitb428018a065b62191b9f8a3f553ebf4423017a78 (patch)
tree2f0f76fa4e6cf73413905d5459983c7c9a8f2499
parentef85b67385436ddc1998f45f1d6a210f935b3388 (diff)
KVM: nVMX: fix instruction skipping during emulated vm-entry
kvm_skip_emulated_instruction() should not be called after emulating a VM-entry failure during or after loading guest state (nested_vmx_entry_failure()). Otherwise the L1 hypervisor is resumed some number of bytes past vmcs->host_rip. Fixes: eb2775621701e6ee3ea2a474437d04e93ccdcb2f Signed-off-by: David Matlack <dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat
kelock has been locked while "automatic suspend" was enabled. Add an analogous field, prevent_sleep_time, to wakeup sources and make it behave in a similar way. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/power/Kconfig')