From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Nimgaonkar, Satyajeet" <SatyajeetNimgaonkar@my.unt.edu>
Cc: Xen Devel <xen-devel@lists.xensource.com>,
Gianni Tedesco <gianni.tedesco@citrix.com>
Subject: Re: Software Plugin Interface in Xen hypervisor
Date: Wed, 27 Oct 2010 12:32:36 -0700 [thread overview]
Message-ID: <4CC87E54.9090601@goop.org> (raw)
In-Reply-To: <12871952FC0E29439F861FA745BCDD8503EC79A8@CH1PRD0104MB027.prod.exchangelabs.com>
On 10/27/2010 12:06 PM, Nimgaonkar, Satyajeet wrote:
> Hi Gianni,
> I want to actually emulate the VCPU and Memory Management Unit and force the DOM Us to run on this new VCPU and MMU.
> Can you provide any pointers on how to achieve this? Thank you very much.
Do you mean a new virtual CPU architecture? Ie, not x86?
If so, I think Xen is the wrong vehicle for your project, and you'd be
better off hacking on qemu directly.
J
> Regards,
> Satyajeet
> ________________________________________
> From: xen-devel-bounces@lists.xensource.com [xen-devel-bounces@lists.xensource.com] on behalf of Nimgaonkar, Satyajeet [SatyajeetNimgaonkar@my.unt.edu]
> Sent: Wednesday, October 27, 2010 10:07 AM
> To: Gianni Tedesco
> Cc: Xen Devel
> Subject: RE: [Xen-devel] Software Plugin Interface in Xen hypervisor
>
> Thanks Gianni for those details, I will look into it.
> ________________________________________
> From: xen-devel-bounces@lists.xensource.com [xen-devel-bounces@lists.xensource.com] on behalf of Gianni Tedesco [gianni.tedesco@citrix.com]
> Sent: Wednesday, October 27, 2010 9:02 AM
> To: Nimgaonkar, Satyajeet
> Cc: Xen Devel
> Subject: RE: [Xen-devel] Software Plugin Interface in Xen hypervisor
>
> On Tue, 2010-10-26 at 17:24 +0100, Nimgaonkar, Satyajeet wrote:
>> Hi Gianni,
>> I don't want to emulate devices instead I just want to create a mechanism by modifying Xen hypervisor such that I can plug in any software prototype of an architecture. So basically this mechanism will be a software plug in interface, something like how VTPM is provided in Xen.
>> I hope this helps you to understand my question.
>> Thanks,
> Yes I just didn't know what you meant by "architecture." Basically this
> means "emulated devices" afaict? I mean VTPM is just a hardware device
> AIUI. What I said before about qemu being the place to implement devices
> is not strictly true. Some things, such as APIC's and timers are
> implemented in the hypervisor for performance reasons.
>
> You may want to look at arch/x86/hvm/vlapic.c etc. for how this is done
> for HVM domains. For PV domains I guess we would just expose the
> relevant functionality through the hypercall interface.
>
> There isn't really a "plug in" architecture that lets you swap these
> things in and out of the hypervisor at runtime. I think most devs are
> just compiling hypervisor and etherbooting it on a separate test machine
> with serial console setup.
>
> It really depends on the very specifics of what you are doing but if you
> really want rapid dev and testing, I would consider implementing your
> devices in qemu.
>
> Gianni
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
next prev parent reply other threads:[~2010-10-27 19:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-25 16:42 Software Plugin Interface in Xen hypervisor Nimgaonkar, Satyajeet
2010-10-25 16:59 ` Gianni Tedesco
2010-10-25 17:14 ` Nimgaonkar, Satyajeet
2010-10-25 18:16 ` Gianni Tedesco
2010-10-26 16:24 ` Nimgaonkar, Satyajeet
2010-10-27 15:02 ` Gianni Tedesco
2010-10-27 16:07 ` Nimgaonkar, Satyajeet
2010-10-27 19:06 ` Nimgaonkar, Satyajeet
2010-10-27 19:29 ` Dan Magenheimer
2010-10-27 19:32 ` Jeremy Fitzhardinge [this message]
2010-10-27 20:19 ` Nimgaonkar, Satyajeet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CC87E54.9090601@goop.org \
--to=jeremy@goop.org \
--cc=SatyajeetNimgaonkar@my.unt.edu \
--cc=gianni.tedesco@citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.