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

Re: [Xen-users] Shared information between VMM's vcpu and guest's cpu structure



On Sat, Jun 21, 2014 at 12:27:16AM +0900, emzei wrote:
> Hi, I want to edit some Xen and guest's code for sharing small information
> between VMM and Guest.
> 
> Although VMM virtualize the physical CPU into virtual CPU,  guest can
> recognize just a physical CPU that is actually virtualized by VMM. right?
> 
> I want to send some information from guest to xen by using of CPU structure.
> Without hypercall or other event, I just want to use only some fields in
> CPU structure.
> 
> For that, I searched the vcpu structure and guest's cpu structure.
> If I extended the vcpu structure with a new field, then how can I reflect
> the field in Guest's cpu structure?
> 
> or, is it can be a way that just keep some information into CPU's register
> for sharing information between guest and vmm?
> 
> i only have a idea, but I don't know how to implement .
> 

Have a look at VCPUOP_register_vcpu_info in both Linux kernel and Xen
side.

Wei.

> thank you for reading!
> 
> 
> best regards,
> emzei

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.