All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Anthony PERARD <anthony.perard@citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	"Wu, Feng" <feng.wu@intel.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [Xen-devel] RESEND [Xen-unstable][Qemu-xen] HVM Guest reading of Expansion ROM from passthroughed PCI device returns data from emulated VGA rom
Date: Tue, 1 Oct 2013 19:15:48 +0300	[thread overview]
Message-ID: <20131001161548.GU2924@reaktio.net> (raw)
In-Reply-To: <644748539.20130924232446@eikelenboom.it>

On Tue, Sep 24, 2013 at 11:24:46PM +0200, Sander Eikelenboom wrote:
> 
> > Can you send out the all the logs when using qemu-dm-traditional as well as the guest configuration file used by xl ?
> 
> Sure, here is the complete set for qemu-dm-traditional.
> I have added some extra printk's (see xen.diff and qemu.diff).
> 
> From what i see when combining the info from all logs, both ioports and iomem for the device (host 07:00.0 and 07:00.1, guest 00:05.0 and 00:06.0)  get mapped, but the expansion rom is not (not by hvmloader and not by qemu) as one can see in
> xl dmesg output.
> So qemu seems to create the Memoryregion for the rom, but it doesn't seem to be backed up by any mapping (at least not one that passes through XEN_DOMCTL_memory_mapping hypercall).
> ( how it exactly ends up pointing to the bios from the emulated cirrus i don't know )
> 
> from the qemu log i see a lot of my extra printk's hit for the expansion rom like:
> pt_bar_mapping_one: [00:05:0] pt_bar_mapping_one: [Region:6] need unmapping in case I/O Space or Memory Space disable
> pt_bar_mapping_one: [00:05:0] pt_bar_mapping_one: [Region:6] update bar mapping NOT needed [Address:ffffffffh] [Size:00020000h] [Type:00000008h]
> 
> I also don't know if it would be desirable to do a direct mapping, or that the guest should just get a copy at the right address of the memoryregion that is created by hvmloader/qemu ?
>

Wu: Did you have time to take a look at this? Anything suspicious? 


-- Pasi

 
> --
> Sander
> 
> P.S.:
>     The complete qemu log is a bit long for the mailinglist, so attached is only the first part.
>     The complete log is downloadable from: http://www.eikelenboom.it/qemu-dm-guest.log
> 

  reply	other threads:[~2013-10-01 16:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 14:33 [Qemu-devel] RESEND [Xen-unstable][Qemu-xen] HVM Guest reading of Expansion ROM from passthroughed PCI device returns data from emulated VGA rom Sander Eikelenboom
2013-09-17 14:33 ` Sander Eikelenboom
2013-09-22 13:02 ` [Qemu-devel] [Xen-devel] " Pasi Kärkkäinen
2013-09-22 13:02   ` Pasi Kärkkäinen
2013-09-22 15:00   ` [Qemu-devel] [Xen-devel] " Sander Eikelenboom
2013-09-22 15:00     ` Sander Eikelenboom
2013-09-22 16:21     ` [Qemu-devel] [Xen-devel] " Pasi Kärkkäinen
2013-09-22 16:21     ` Pasi Kärkkäinen
2013-09-23  3:03     ` [Qemu-devel] [Xen-devel] " Wu, Feng
2013-09-23  3:03       ` Wu, Feng
2013-09-24 21:24       ` [Qemu-devel] [Xen-devel] " Sander Eikelenboom
2013-09-24 21:24         ` Sander Eikelenboom
2013-10-01 16:15         ` Pasi Kärkkäinen [this message]
2013-10-01 16:15         ` Pasi Kärkkäinen
2013-12-02 19:41 ` Konrad Rzeszutek Wilk
2013-12-02 19:41 ` [Qemu-devel] [Xen-devel] " Konrad Rzeszutek Wilk
2013-12-02 19:55   ` Sander Eikelenboom
2013-12-02 20:39     ` Konrad Rzeszutek Wilk
2013-12-02 20:39     ` [Qemu-devel] [Xen-devel] " Konrad Rzeszutek Wilk
2013-12-02 20:59       ` Sander Eikelenboom
2013-12-02 20:59       ` [Qemu-devel] [Xen-devel] " Sander Eikelenboom
2013-12-02 19:55   ` Sander Eikelenboom

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=20131001161548.GU2924@reaktio.net \
    --to=pasik@iki.fi \
    --cc=anthony.perard@citrix.com \
    --cc=feng.wu@intel.com \
    --cc=linux@eikelenboom.it \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.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.