mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
implement KVM_KVMCLOCK_CTRL. Interestingly, the kernel does not check
the parameter. QEMU does pass 0 nevertheless as parameter. bugzilla: [Bug 339424] Full support of KVM ioctl git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14569
This commit is contained in:
parent
0b5642095e
commit
3b8b96e924
@ -5430,6 +5430,7 @@ PRE(sys_ioctl)
|
||||
case VKI_KVM_S390_ENABLE_SIE:
|
||||
case VKI_KVM_CREATE_IRQCHIP:
|
||||
case VKI_KVM_S390_INITIAL_RESET:
|
||||
case VKI_KVM_KVMCLOCK_CTRL:
|
||||
|
||||
/* vhost without parameter */
|
||||
case VKI_VHOST_SET_OWNER:
|
||||
@ -9379,6 +9380,7 @@ POST(sys_ioctl)
|
||||
case VKI_KVM_CREATE_IRQCHIP:
|
||||
case VKI_KVM_RUN:
|
||||
case VKI_KVM_S390_INITIAL_RESET:
|
||||
case VKI_KVM_KVMCLOCK_CTRL:
|
||||
break;
|
||||
|
||||
#ifdef ENABLE_XEN
|
||||
|
||||
@ -3116,6 +3116,7 @@ struct vki_sockaddr_rc {
|
||||
#define VKI_KVM_RUN _VKI_IO(KVMIO, 0x80)
|
||||
#define VKI_KVM_S390_INITIAL_RESET _VKI_IO(KVMIO, 0x97)
|
||||
#define VKI_KVM_NMI _VKI_IO(KVMIO, 0x9a)
|
||||
#define VKI_KVM_KVMCLOCK_CTRL _VKI_IO(KVMIO, 0xad)
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// From linux-2.6/include/linux/net_stamp.h
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user