Home
last modified time | relevance | path

Searched refs:kvmattr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1702 struct kvm_device_attr kvmattr = { in __kvm_device_attr_get() local
1709 return __kvm_ioctl(dev_fd, KVM_GET_DEVICE_ATTR, &kvmattr); in __kvm_device_attr_get()
1714 struct kvm_device_attr kvmattr = { in __kvm_device_attr_set() local
1721 return __kvm_ioctl(dev_fd, KVM_SET_DEVICE_ATTR, &kvmattr); in __kvm_device_attr_set()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3339 struct kvm_device_attr kvmattr; in kvm_device_access() local
3342 kvmattr.flags = 0; in kvm_device_access()
3343 kvmattr.group = group; in kvm_device_access()
3344 kvmattr.attr = attr; in kvm_device_access()
3345 kvmattr.addr = (uintptr_t)val; in kvm_device_access()
3349 &kvmattr); in kvm_device_access()