[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [kvmarm] [PATCH] target-arm: kvm: use KVM_SET_SREGS to
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [kvmarm] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15 |
Date: |
Mon, 16 Jul 2012 11:09:01 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
On 07/16/2012 10:19 AM, Rusty Russell wrote:
> On Fri, 13 Jul 2012 12:06:26 +0200, Alexander Graf <address@hidden> wrote:
>> > struct kvm_sregs {
>> > + __u32 target;
>> > + __u32 num_features;
>> > + __u32 features[14];
>> > };
>>
>> Are you sure you want to use sregs? We did the mistake of reusing it
>> on ppc, but that doesn't mean you need to repeat the same one :)
>>
>> Basically sregs are an x86 specific struct for its segment register
>> information. I'm quite sure that this is not what your use of them is
>> here.
>
> Since each arch is given a hook already, I just abused it. I'll change
> this to a fresh KVM_ARM_SET_TARGET ioctl.
I guess this is equivalent to KVM_SET_CPUID2 on x86. Note that's a vcpu
ioctl.
--
error compiling committee.c: too many arguments to function
- [Qemu-devel] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15, Rusty Russell, 2012/07/12
- [Qemu-devel] [PATCH 3/3] target-arm: kvm: remove old kernel support., Rusty Russell, 2012/07/12
- [Qemu-devel] [PATCH 2/3] target-arm: kvm: use KVM_GET_MSRS/KVM_SET_MSRS for CP15 registers., Rusty Russell, 2012/07/12
- Re: [Qemu-devel] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15, Peter Maydell, 2012/07/13
- Re: [Qemu-devel] [kvmarm] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15, Alexander Graf, 2012/07/13
- Re: [Qemu-devel] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15, Peter Maydell, 2012/07/17