* pcie error containment: kill domain and dm without xend
@ 2016-06-22 20:16 Elena Ufimtseva
2016-06-24 11:37 ` George Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Elena Ufimtseva @ 2016-06-22 20:16 UTC (permalink / raw)
To: xen-devel
Hello
I am working on PCIe errors containment and XSA-124 relevant problem.
This is only small part of the problem and I can provide more details later
if that is of someone's interest.
As the temporary solution, guest domain with passthrough device
without SRIOV gets killed when certain AER errors are triggered by
dom0 AER code.
In versions of xen with xend present, xenwatch can be used and pciback can
write some fields to xenstore (as "aerfail" which is already present)
and destroy device model and then domain itself.
What would be the best way to initiate similar behaviour when xend is
not used? Or maybe what is the best way to initiate device model
destruction and domain itself without xend?
Thanks!
Elena
~
--
Elena
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pcie error containment: kill domain and dm without xend
2016-06-22 20:16 pcie error containment: kill domain and dm without xend Elena Ufimtseva
@ 2016-06-24 11:37 ` George Dunlap
2016-06-24 15:11 ` Elena Ufimtseva
0 siblings, 1 reply; 3+ messages in thread
From: George Dunlap @ 2016-06-24 11:37 UTC (permalink / raw)
To: Elena Ufimtseva; +Cc: xen-devel
On Wed, Jun 22, 2016 at 9:16 PM, Elena Ufimtseva <ufimtseva@gmail.com> wrote:
> Hello
>
> I am working on PCIe errors containment and XSA-124 relevant problem.
> This is only small part of the problem and I can provide more details later
> if that is of someone's interest.
> As the temporary solution, guest domain with passthrough device
> without SRIOV gets killed when certain AER errors are triggered by
> dom0 AER code.
> In versions of xen with xend present, xenwatch can be used and pciback can
> write some fields to xenstore (as "aerfail" which is already present)
> and destroy device model and then domain itself.
> What would be the best way to initiate similar behaviour when xend is
> not used? Or maybe what is the best way to initiate device model
> destruction and domain itself without xend?
xl forks a background process per VM to monitor VMs and destroy device
models at the appropriate times -- see
tools/xl_cmdimpl.c:create_domain() (and in particular search for
"need_daemon"). This is the place to implement VM-watching features
such as xend had.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pcie error containment: kill domain and dm without xend
2016-06-24 11:37 ` George Dunlap
@ 2016-06-24 15:11 ` Elena Ufimtseva
0 siblings, 0 replies; 3+ messages in thread
From: Elena Ufimtseva @ 2016-06-24 15:11 UTC (permalink / raw)
To: George Dunlap; +Cc: xen-devel
Thanks George!
On Fri, Jun 24, 2016 at 4:37 AM, George Dunlap <george.dunlap@citrix.com> wrote:
> On Wed, Jun 22, 2016 at 9:16 PM, Elena Ufimtseva <ufimtseva@gmail.com> wrote:
>> Hello
>>
>> I am working on PCIe errors containment and XSA-124 relevant problem.
>> This is only small part of the problem and I can provide more details later
>> if that is of someone's interest.
>> As the temporary solution, guest domain with passthrough device
>> without SRIOV gets killed when certain AER errors are triggered by
>> dom0 AER code.
>> In versions of xen with xend present, xenwatch can be used and pciback can
>> write some fields to xenstore (as "aerfail" which is already present)
>> and destroy device model and then domain itself.
>> What would be the best way to initiate similar behaviour when xend is
>> not used? Or maybe what is the best way to initiate device model
>> destruction and domain itself without xend?
>
> xl forks a background process per VM to monitor VMs and destroy device
> models at the appropriate times -- see
> tools/xl_cmdimpl.c:create_domain() (and in particular search for
> "need_daemon"). This is the place to implement VM-watching features
> such as xend had.
>
> -George
--
Elena
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-24 15:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 20:16 pcie error containment: kill domain and dm without xend Elena Ufimtseva
2016-06-24 11:37 ` George Dunlap
2016-06-24 15:11 ` Elena Ufimtseva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).