From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: Tim Deegan <Tim.Deegan@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
"keir.fraser@eu.citrix.com" <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH 4 of 5] libxl: Add support for passing in the machine's E820 for PCI passthrough
Date: Fri, 8 Apr 2011 11:00:55 -0400 [thread overview]
Message-ID: <20110408150054.GC9971@dumpdata.com> (raw)
In-Reply-To: <1302273227.27835.104.camel@zakaz.uk.xensource.com>
On Fri, Apr 08, 2011 at 03:33:47PM +0100, Ian Campbell wrote:
> On Fri, 2011-04-08 at 15:25 +0100, Tim Deegan wrote:
> > At 15:17 +0100 on 08 Apr (1302275848), Ian Campbell wrote:
> > > > That's a _horrible_ config syntax.
> > >
> > > fair enough. I thought it nicely represented the "has an empty PCI bus"
> > > myself...
> >
> > Sure, but it's really not obvious that that means "has a memory layout
> > that matches the host on which it was last booted".
>
> Hmm, yes, this proposal doesn't really cover migration does it...
>
> You obviously can't migrate with a device passed through but it should
> be possible to unplug, migrate and replug. Maybe having a sensible hole
Yes.
> on the first host is sufficient... Especially if the annoying case is
> GFX passthrough -- you are much less like to want/be able to unplug your
> gfx over a migration...
So one use case is SR-IOV and depending on what machine you are on, the
BARs can be different.
If you are migrating between the same type of machines, where the BARs
and E820 are the same machine it "ought" to work (hadn't tested it as
I only have one machine with SR-IOV ..but I should be able to
test the save/restore on that machine).
What I did test was save/restore on a single machine (where I unload
the NIC module's before hand and load it after a restore) and it worked
(with some Linux kernel patches that I need to post soon).
But the right way is to augment the Linux kernel code to deal with
a new E820 _after_ a resume. This is something I plan on doing
during the summer, but not right now.
next prev parent reply other threads:[~2011-04-08 15:00 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 20:25 [PATCH 0 of 5] Patches for PCI passthrough with modified E820 Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 1 of 5] tools: Add xc_domain_set_memory_map and xc_get_machine_memory_map calls Konrad Rzeszutek Wilk
2011-04-08 8:18 ` Ian Campbell
2011-04-08 13:19 ` Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 2 of 5] x86: make the pv-only e820 array be dynamic Konrad Rzeszutek Wilk
2011-04-08 8:22 ` Ian Campbell
2011-04-08 13:21 ` Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 3 of 5] x86: adjust the size of the e820 for pv guest to " Konrad Rzeszutek Wilk
2011-04-07 20:25 ` [PATCH 4 of 5] libxl: Add support for passing in the machine's E820 for PCI passthrough Konrad Rzeszutek Wilk
2011-04-08 8:36 ` Ian Campbell
2011-04-08 10:56 ` Ian Jackson
2011-04-08 13:35 ` Konrad Rzeszutek Wilk
2011-04-08 13:55 ` Ian Campbell
2011-04-08 14:09 ` Tim Deegan
2011-04-08 14:17 ` Ian Campbell
2011-04-08 14:25 ` Tim Deegan
2011-04-08 14:33 ` Ian Campbell
2011-04-08 15:00 ` Konrad Rzeszutek Wilk [this message]
2011-04-08 14:34 ` Konrad Rzeszutek Wilk
2011-04-08 14:42 ` Ian Campbell
2011-04-08 14:54 ` Konrad Rzeszutek Wilk
2011-04-08 16:01 ` Ian Jackson
2011-04-08 13:33 ` Konrad Rzeszutek Wilk
2011-04-08 14:00 ` Ian Campbell
2011-04-07 20:25 ` [PATCH 5 of 5] libxl: Convert E820_UNUSABLE and E820_RAM to E820_UNUSABLE as appropriate Konrad Rzeszutek Wilk
2011-04-08 8:42 ` [PATCH 0 of 5] Patches for PCI passthrough with modified E820 Ian Campbell
2011-04-08 13:24 ` Konrad Rzeszutek Wilk
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=20110408150054.GC9971@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Tim.Deegan@eu.citrix.com \
--cc=keir.fraser@eu.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.