[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state |
Date: |
Mon, 30 Nov 2009 11:31:48 -0200 |
On Mon, Nov 30, 2009 at 10:05 AM, Avi Kivity <address@hidden> wrote:
> On 11/30/2009 01:45 PM, Glauber Costa wrote:
>>>
>>> Better to use cpu_synchronize_state() instead.
>>>
>>>
>>
>> I might be misreading it, but :
>>
>> void kvm_cpu_synchronize_state(CPUState *env)
>> {
>> if (!env->kvm_state->regs_modified) {
>> kvm_arch_get_registers(env);
>> env->kvm_state->regs_modified = 1;
>> }
>> }
>>
>> Only does get. And we need put.
>>
>
> It will autoput during the next guest entry.
So it should be working already, no?
We do a cpu_synchronize_state() on the beginning of that function, and
vcpu does not run
until it is finished.
>
> --
> error compiling committee.c: too many arguments to function
>
>
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
- [Qemu-devel] [PATCH 2/7] store thread-specific env information, (continued)
- [Qemu-devel] [PATCH 2/7] store thread-specific env information, Glauber Costa, 2009/11/26
- [Qemu-devel] [PATCH 3/7] update halted state on mp_state sync, Glauber Costa, 2009/11/26
- [Qemu-devel] [PATCH 4/7] qemu_flush_work for remote vcpu execution, Glauber Costa, 2009/11/26
- [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state, Glauber Costa, 2009/11/26
- [Qemu-devel] [PATCH 6/7] Don't call kvm cpu reset on initialization, Glauber Costa, 2009/11/26
- [Qemu-devel] [PATCH 7/7] remove smp restriction from kvm, Glauber Costa, 2009/11/26
- Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state, Avi Kivity, 2009/11/29
- Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state, Glauber Costa, 2009/11/30
- Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state, Gleb Natapov, 2009/11/30
- Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state, Avi Kivity, 2009/11/30
- Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state,
Glauber Costa <=
- Re: [Qemu-devel] [PATCH 5/7] tell kernel about all registers instead of just mp_state, Avi Kivity, 2009/11/30
- Re: [Qemu-devel] [PATCH 4/7] qemu_flush_work for remote vcpu execution, Avi Kivity, 2009/11/29
- Re: [Qemu-devel] [PATCH 4/7] qemu_flush_work for remote vcpu execution, Glauber Costa, 2009/11/30
- Re: [Qemu-devel] [PATCH 4/7] qemu_flush_work for remote vcpu execution, Avi Kivity, 2009/11/30
- [Qemu-devel] Re: [PATCH 4/7] qemu_flush_work for remote vcpu execution, Paolo Bonzini, 2009/11/30
- Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information, Avi Kivity, 2009/11/29
- Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information, Andreas Färber, 2009/11/29
- Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information, Avi Kivity, 2009/11/29
- Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information, Andreas Färber, 2009/11/29
- Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information, Jamie Lokier, 2009/11/29