All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Brannon <cmb@prgmr.com>
To: Christopher Clark <christopher.w.clark@gmail.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: HVM driver domains do not appear to be usable with stubdomains
Date: Tue, 11 Dec 2018 10:16:04 -0800	[thread overview]
Message-ID: <87bm5sdj4r.fsf@prgmr.com> (raw)
In-Reply-To: <CACMJ4GZbFV2X6Q36Uf-zYEbJD24B6wz7rDaEvMg+q_66a4Qt_A@mail.gmail.com> (Christopher Clark's message of "Tue, 4 Dec 2018 11:03:32 -0800")

Christopher Clark <christopher.w.clark@gmail.com> writes:

> On Tue, Dec 4, 2018 at 10:11 AM Chris Brannon <cmb@prgmr.com> wrote:
>>
>> Hi,
>> I set up a network driver domain for a dom0; it uses HVM
>> virtualization.  It worked very well when not using a device model
>> stubdomain, but when I requested the use of a device model stubdomain in
>> my xl.cfg file, the domU refused to boot.  It gave the following error
>> message.
>>
>> [76594.195404] xen_pciback: vpci: 0000:05:00.0: assign to virtual slot 0
>> [76594.195927] pciback 0000:05:00.0: registering for 35
>> [76594.230592] xen-pciback pci-34-0: 22 Couldn't locate PCI device
>>     (0000:05:00.0)! perhaps already in-use?
>>
>> It seems to me that Xen is trying to pass the PCI device to both the
>> domU and the stubdomain, and that is why it is failing.  Has anyone
>> managed to get an HVM driver domain running with a stubdomain?  If so,
>> how did you do it?  Or is it expected that HVM driver domains won't work
>> with stubdomains?
>
> OpenXT uses a HVM driver domain with a stubdomain for the network
> device driver, using Linux stubdomains with code very similar to that
> Marek has posted on this list.
>
> These pull requests may be a good place to start looking.
> https://github.com/OpenXT/openxt/pull/311
> and
> https://github.com/OpenXT/xenclient-oe/pull/912
> which includes this patch to qemu (originally from Qubes, referencing:

Hi Christopher,
Thank you for the pointers.  That gives me a very good place to start.
So if I understand correctly, the problem is that PCI passthrough
doesn't work with stubdomains, unless qemu is patched?

-- Chris

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-12-11 18:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 18:10 HVM driver domains do not appear to be usable with stubdomains Chris Brannon
2018-12-04 19:03 ` Christopher Clark
2018-12-11 18:16   ` Chris Brannon [this message]
2018-12-11 20:17     ` Jason Andryuk
2018-12-13 15:35       ` Chris Brannon

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=87bm5sdj4r.fsf@prgmr.com \
    --to=cmb@prgmr.com \
    --cc=christopher.w.clark@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.