Messages in this thread | | | Date | Fri, 20 Feb 2015 17:53:21 +0100 | From | Michael Mueller <> | Subject | Re: [Qemu-devel] [RFC PATCH v2 13/15] cpu-model/s390: Add processor property routines |
| |
On Fri, 20 Feb 2015 17:28:14 +0100 Andreas Färber <afaerber@suse.de> wrote:
Andreas,
> Sorry for my ignorance, but what is proc actually needed for? For > initializing the class, there's .class_init (and cc->fac_list apparently > is initialized here). If you need to pass info to KVM, you can do so in
yes, it is communication to the accelerator to prepare its local cpu model related data structures which are used to initialize a vcpu (e.g. the facility list beside others)
> DeviceClass::realize when the vCPU actually goes "live". A
I will look what "goes live" in detail means here, it should at least be before kvm_arch_vcpu_setup() gets triggered on accelerator side.
> string-to-string (or string-to-ObjectClass) translation function seems > like a weird point in time to take action with global effect. > > Anyway, please implement the generic callback, then you can still call > it from your own helper functions if needed.
Thanks a lot! Michael
| |