* kvm.c (kvm_ioctl): Handle KVM_RUN, KVM_GET_VCPU_MMAP_SIZE and KVM_GET_API_VERSION.
Signed-off-by: Masatake YAMATO <[email protected]> --- kvm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kvm.c b/kvm.c index 8251ce7d..9fa7e248 100644 --- a/kvm.c +++ b/kvm.c @@ -37,6 +37,10 @@ int kvm_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg) { switch (code) { + /* Commands not taking any arguments. */ + case KVM_RUN: + case KVM_GET_VCPU_MMAP_SIZE: + case KVM_GET_API_VERSION: default: return RVAL_DECODED; } -- 2.13.6 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
