[Qemu-devel] [PATCH RFC 2/2] Add an ioctl to pass the entitlement information from qemu to the hypervisor.

2012-08-23 Thread Michael Wolf
Add KVM_SET_ENTITLEMENT ioctl to pass the entitlement to the hypervisor. Signed-off-by: Michael Wolf --- cpu-defs.h|1 + cpus.c|1 + cpus.h|1 + kvm-all.c |1 + linux-headers/linux/kvm.h |2 ++ 5 files

[Qemu-devel] [PATCH RFC 1/2] Parse the cpu entitlement from the qemu commandline.

2012-08-23 Thread Michael Wolf
The cpu entitlement value will be passed to qemu as part of the cpu parameters. Add cpu_parse to read this value from the commandline. Signed-off-by: Michael Wolf --- qemu-options.hx |7 +-- vl.c| 23 ++- 2 files changed, 27 insertions(+), 3 deletions

[Qemu-devel] [PATCH RFC 0/2] Add guest cpu entitlement reporting

2012-08-23 Thread Michael Wolf
compute the amount of steal time display by the accounting tools. Michael Wolf (2): The cpu entitlement value will be passed to qemu as part of the cpu parameters. Add an ioctl to pass the entitlement information from qemu to the hypervisor. --- cpu-defs.h