From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: rebase hlt emulation
Date: Thu, 12 Jul 2007 12:51:59 +0300 [thread overview]
Message-ID: <4695F9BF.9000301@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A01C249B6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
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/
next prev parent reply other threads:[~2007-07-12 9:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-07 4:42 rebase hlt emulation Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01B8F3F3-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-12 5:33 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01C249B6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-12 9:51 ` Avi Kivity [this message]
[not found] ` <4695F9BF.9000301-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-12 14:20 ` Dong, Eddie
-- strict thread matches above, loose matches on Subject: below --
2007-07-12 9:31 Gregory Haskins
[not found] ` <4695BCA50200005A000275FE-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-12 9:53 ` Avi Kivity
2007-07-12 14:45 Gregory Haskins
[not found] ` <4696065E0200005A0002766F-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-12 14:54 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01C24C36-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-12 15:00 ` Avi Kivity
[not found] ` <469641FF.2090408-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-12 15:34 ` Dong, Eddie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4695F9BF.9000301@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox