All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xen.org>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: pause PV domain with pci passthrough
Date: Tue, 30 Nov 2010 14:20:30 +0000	[thread overview]
Message-ID: <C91AB8AE.B812%keir@xen.org> (raw)
In-Reply-To: <397535031.20101130151750@eikelenboom.it>

On 30/11/2010 14:17, "Sander Eikelenboom" <linux@eikelenboom.it> wrote:

> The idea was that pausing it would make it possible to switch between running
> and not running faster than with complete create/shutdown.
> But it's not terribly important, just wondering if it was possible (already
> thought that the pci stuff would probably be difficult)

You could try pci detach/attach across 'xm pause'?

 -- Keir

> --
> Sander
> 
> Tuesday, November 30, 2010, 3:13:40 PM, you wrote:
> 
>> On 30/11/2010 12:48, "Sander Eikelenboom" <linux@eikelenboom.it> wrote:
> 
>>> Hmm save isn't allowed with a pci device passed through:
>>> 
>>> #xm save 14 /tmp/savedomain.xen
>>> Error: Migration not permitted with assigned PCI device.
>>> 
>>> Would perhaps be wise to do that for pause as well when a pci device is
>>> assigned ?
> 
>> Yes, probably. Why do you want to pause a domain, anyway? Is it actually
>> useful to be able to do that?
> 
>>  -- Keir
> 
>>> --
>>> Sander
>>> 
>>> 
>>> Tuesday, November 30, 2010, 1:36:59 PM, you wrote:
>>> 
>>>> On 30/11/2010 12:14, "Sander Eikelenboom" <linux@eikelenboom.it> wrote:
>>> 
>>>>> Hi Keir/Konrad,
>>>>> 
>>>>> Should it be possible to pause a PV domain ("xm pause") when it has pci
>>>>> devices passed through ?
>>>>> If not, should it work with a HVM with pci passthrough ?
>>>>> 
>>>>> Trying with a PV domain gave troubles so far.
>>> 
>>>> It might give problems with pending pass-thru interrupts not getting
>>>> handled
>>>> by the paused domain? That could block other, more critical interrupts,
>>>> like
>>>> for disc controllers in dom0. Just a theory. I wouldn't generally recommend
>>>> pausing any domain, as a guest OS could get upset getting descheduled for
>>>> significant periods of time without being told about it (as a PV guest is
>>>> for save/restore).
>>> 
>>>>  -- Keir
>>> 
>>>>> --
>>>>> Sander
>>>>> 
>>> 
>>> 
>>> 
>>> 
> 
> 
> 
> 

      reply	other threads:[~2010-11-30 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30 12:14 pause PV domain with pci passthrough Sander Eikelenboom
2010-11-30 12:36 ` Keir Fraser
2010-11-30 12:41   ` Sander Eikelenboom
2010-11-30 12:48   ` Sander Eikelenboom
2010-11-30 14:13     ` Keir Fraser
2010-11-30 14:17       ` Sander Eikelenboom
2010-11-30 14:20         ` Keir Fraser [this message]

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=C91AB8AE.B812%keir@xen.org \
    --to=keir@xen.org \
    --cc=konrad.wilk@oracle.com \
    --cc=linux@eikelenboom.it \
    --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.