Re: [RFC 0/2] target-arm: Provide '-cpu host' when running KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14 August 2013 09:46, Alexander Graf <agraf@xxxxxxx> wrote:
> So can we access those even when the vcpu hasn't been init'ed yet? If so, how about the following flow of things for -cpu host:
>
>   - QEMU fetches host target type via ioctl (how will this work for big-little?)
>   - QEMU fetches ID registers, feature flags, etc via one-reg (or are they also available via auxv?), puts them into its internal "this is my cpu type" fields for the cpu object / class.
>   - QEMU calls VCPU_INIT with the type it fetched via ioctl.

Curiously enough this is pretty much exactly what this patch
actually does (except we don't bother to actually stash the ID
register values because we know they'll never be used).

-- PMM
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux