From: Steven Stovall <sstovall@neuraliq.com>
To: kvm@vger.kernel.org
Subject: Re: is vmx_vcpu_run deprecated in kvm-77?
Date: Thu, 15 Jan 2009 14:46:00 -0800 (PST) [thread overview]
Message-ID: <21654469.30371232059560358.JavaMail.root@mailserv1> (raw)
In-Reply-To: <28357612.30351232059365063.JavaMail.root@mailserv1>
I don't mean to be obtuse, but are you saying kvm_main_loop_wait() *should* dequeue the pending signal or *does* dequeue the pending signal, just not for "host userspace"?
Steven
----- Original Message -----
From: "Avi Kivity" <avi@redhat.com>
To: "Steven Stovall" <sstovall@neuraliq.com>
Sent: Thursday, January 15, 2009 1:46:30 PM GMT -08:00 US/Canada Pacific
Subject: Re: is vmx_vcpu_run deprecated in kvm-77?
Please keep the conversation on the kvm list.
Steven Stovall wrote:
> Avi,
>
> Not sure what you mean by "kvm-userspace",
The code in kvm-userspace.git, namely libkvm and qemu.
> but the app uses qemu and libkvm ioctls to interface with kvm.
So this is a host-side app, right, not running in the guest? Please
describe it.
> The problem seems to be that for some reason the call to signal_pending() from __vcpu_run is always true and never lets vmx_vcpu_run() be called (i never see the msrs set either). The only exit_reasons seen are KVM_EXIT_INTR. I've been looking at this hard for 2 weeks now, and its driving me crazy. Not to mention my boss.
>
I don't care much about your boss, but you should have posted earlier.
What happens is that a signal is pending, and host userspace doesn't
dequeue it, so it remains pending. This is handled by kvm_main_loop_wait().
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
next parent reply other threads:[~2009-01-15 22:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <28357612.30351232059365063.JavaMail.root@mailserv1>
2009-01-15 22:46 ` Steven Stovall [this message]
[not found] <12600349.28271231962619090.JavaMail.root@mailserv1>
2009-01-14 19:53 ` is vmx_vcpu_run deprecated in kvm-77? Steven Stovall
2009-01-15 15:24 ` Avi Kivity
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=21654469.30371232059560358.JavaMail.root@mailserv1 \
--to=sstovall@neuraliq.com \
--cc=kvm@vger.kernel.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