is vmx_vcpu_run deprecated in kvm-77?
A message that is not in the archive (sent off-list or not yet received): 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" <[email protected]>
To: "Steven Stovall" <[email protected]>
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.
Quoted 3 lines · Steven Stovall
Avi,
Not sure what you mean by "kvm-userspace",
The code in kvm-userspace.git, namely libkvm and qemu.
Quoted 1 line
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.
Quoted 2 lines
The problem seems to be that for some reason the call to
signal_pending()from__vcpu_runis always true and never letsvmx_vcpu_run()be called (i never see the msrs set either). The onlyexit_reasonsseen areKVM_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().
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.