All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edwin Zhai <edwin.zhai@intel.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: mini-guest io emulation
Date: Wed, 15 Mar 2006 11:03:34 +0800	[thread overview]
Message-ID: <20060315030334.GF13646@edwin-gen.ccr> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D4B9CB2@liverpoolst.ad.cl.cam.ac.uk>

Ian,
have some questions for mini-os io emulation
1. seems dom0 still need do the user interaction( screen painting, kbd/mouse
detection), so how much performance gain with extra dom switch(dom0<->mini
os<->VMX guest) ?

2. even with mini-os io emulation, pit/pic/iopaic/lapic still sit in Hypervisior,
right?

3. we are currently doing the save/restore for VMX guest with the expection that
mini-os emulation only affect device model save/resotore. we can continue
current work (just save the qemu-dm state) and sync with mini os in future.


On Sun, Mar 12, 2006 at 09:26:26PM -0000, Ian Pratt wrote:
> 
> Folks,
> 
> At the last summit I presented a proposal for rearchitecting the way we
> do io emulation for fully-virtualized (hvm) guests. I'd really like to
> try and get the work to implement this underway, as it cleans up a bunch
> of mess, is a prerequisite for save/restore/relocation of hvm guests,
> and is a precursor to some significant performance improvements. It
> involves a fair chunk of work, so we really want to try and get multiple
> folk working on it.
> 
> The plan is to move the io emulation code (qemu-dm) from running as a
> user-space app in domain 0 into a 'mini guest' that is effectively a
> small paravirtualized guest in the root hardware context associated with
> each hvm domain. 
> 
> I guess a very high-level work plan would look something like this:
> 
> * get minios running well on x86_64; add a few simple infrastructure
> functions e.g. simple memory allocator. No need for any 'user space' mmu
> support
> * port (simplified)xenbus/netfront/blkfront to minios; test simple
> net/disk IO
> * implement enough infrastructure to allow qemu-dm to be compiled into
> minios, calling into net/blkfront for IO.
> * plumb the vmexit entry points from MMIO and in/out into minios and
> hence qemu-dm
> 
> Once the above is working we'll be in good shape. We can remove all the
> skany qemu-dm support from the tools as from their POV paravirt and hvm
> guests will look identical. It should also be easy to implement
> save/restore of hvm guests -- just save the miniguest as part of the hvm
> guests', memory image. The next stage would then be to improve
> performance by enhancing the device models, e.g. adding a network card
> that suports jumbo frames and csum offload, and requires fewer vmexits
> in operation.
> 
> How best to move forward on this? Any volunteers?
> 
> Thanks,
> Ian
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

-- 
thanks,
edwin

  parent reply	other threads:[~2006-03-15  3:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-12 21:26 mini-guest io emulation Ian Pratt
2006-03-14  8:40 ` Tristan Gingold
2006-03-15  3:03 ` Edwin Zhai [this message]
2006-03-15 10:00   ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2006-03-13  0:06 Puthiyaparambil, Aravindh
2006-03-13  5:04 Nakajima, Jun
2006-03-13  8:03 ` Keir Fraser
2006-03-13 12:01   ` Mark Ryden
2006-03-13 12:18     ` Jacob Gorm Hansen
2006-03-13 12:02 ` Jacob Gorm Hansen
2006-03-13 12:41   ` Grzegorz Milos
2006-03-13 16:25 ` Anthony Liguori
2006-03-13 18:45 Nakajima, Jun

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=20060315030334.GF13646@edwin-gen.ccr \
    --to=edwin.zhai@intel.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --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.