Dong, Eddie wrote:
> Here is the update with adding HLT cap.
>
>
> diff --git a/drivers/kvm/i8259.c b/drivers/kvm/i8259.c
> index f4ae5f7..e84e665 100644
> --- a/drivers/kvm/i8259.c
> +++ b/drivers/kvm/i8259.c
> @@ -411,8 +411,13 @@ static void picdev_read(struct kvm_io_device *this,
> static void pic_irq_request(void *opaque, int level)
> {
> struct kvm *kvm = opaque;
> + struct kvm_vcpu *vcpu = &kvm->vcpus[0];
>
> pic_irqchip(kvm)->output = level;
> + if (waitqueue_active(&vcpu->wq)) {
> + wake_up_interruptible(&vcpu->wq);
> + ++vcpu->stat.halt_wakeup;
> + }
> }
>
Please strip out non-hlt related things like this so I can apply on
current kvm.git.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel