* pause PV domain with pci passthrough
@ 2010-11-30 12:14 Sander Eikelenboom
2010-11-30 12:36 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Sander Eikelenboom @ 2010-11-30 12:14 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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.
--
Sander
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pause PV domain with pci passthrough
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
0 siblings, 2 replies; 7+ messages in thread
From: Keir Fraser @ 2010-11-30 12:36 UTC (permalink / raw)
To: Sander Eikelenboom; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pause PV domain with pci passthrough
2010-11-30 12:36 ` Keir Fraser
@ 2010-11-30 12:41 ` Sander Eikelenboom
2010-11-30 12:48 ` Sander Eikelenboom
1 sibling, 0 replies; 7+ messages in thread
From: Sander Eikelenboom @ 2010-11-30 12:41 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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).
That's exactly what i saw, dom0's ahci controller was getting pretty upset.
So save/restore would be the way to go then ..
I will give that a try !
Thx,
Sander
> -- Keir
>> --
>> Sander
>>
--
Best regards,
Sander mailto:linux@eikelenboom.it
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pause PV domain with pci passthrough
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
1 sibling, 1 reply; 7+ messages in thread
From: Sander Eikelenboom @ 2010-11-30 12:48 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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 ?
--
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
>>
--
Best regards,
Sander mailto:linux@eikelenboom.it
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pause PV domain with pci passthrough
2010-11-30 12:48 ` Sander Eikelenboom
@ 2010-11-30 14:13 ` Keir Fraser
2010-11-30 14:17 ` Sander Eikelenboom
0 siblings, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2010-11-30 14:13 UTC (permalink / raw)
To: Sander Eikelenboom; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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
>>>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pause PV domain with pci passthrough
2010-11-30 14:13 ` Keir Fraser
@ 2010-11-30 14:17 ` Sander Eikelenboom
2010-11-30 14:20 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Sander Eikelenboom @ 2010-11-30 14:17 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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)
--
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
>>>>
>>
>>
>>
>>
--
Best regards,
Sander mailto:linux@eikelenboom.it
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pause PV domain with pci passthrough
2010-11-30 14:17 ` Sander Eikelenboom
@ 2010-11-30 14:20 ` Keir Fraser
0 siblings, 0 replies; 7+ messages in thread
From: Keir Fraser @ 2010-11-30 14:20 UTC (permalink / raw)
To: Sander Eikelenboom; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk
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
>>>>>
>>>
>>>
>>>
>>>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-11-30 14:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.