From: "Daniel P. Berrange" <berrange@redhat.com>
To: Pavel Hrdina <phrdina@redhat.com>
Cc: qemu-devel@nongnu.org, lersek@redhat.com
Subject: Re: [Qemu-devel] Missing PCI network device ROM bar on ARM
Date: Fri, 22 Jul 2016 16:11:58 +0100 [thread overview]
Message-ID: <20160722151158.GS20567@redhat.com> (raw)
In-Reply-To: <20160722145516.o2a53g2zscsxlbtd@antique-laptop>
On Fri, Jul 22, 2016 at 04:55:16PM +0200, Pavel Hrdina wrote:
> Hi,
>
> So there was made a decision that default ROM bars for network devices shouldn't
> be packaged for ARM architecture. Based on this thorough explanation [1] it
What do you mean by 'shouldn't be packaged for ARM architecture' ? It sounds
like you are referring to the QEMU RPM packaging, which would sound like a
bogus decision, since you can run non-arm emulator binaries on the arm host
arch.
> makes sense that it's useless. However it leads to a small issue with starting
> a guest on ARM hosts with PCI network device, if there are no ROM files included
> it will fail with error message:
>
> -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:10:e9:80,bus=pci.2,addr=0x1:
> failed to find romfile "efi-virtio.rom"
>
> there is also a bug [2].
>
> It was originally created against virt-manager, but I've moved it to libvirt
> temporally because I don't think that this should be a job for virt-manager to
> workaround this ugly behavior of QEMU, because all other layers using libvirt
> would have to do the same workaround. However I also thing that it isn't a job
> for libvirt too, because if you don't specify anything about using or not using
> a ROM bar (you just don't care about it) the QEMU process should start without
> any error. This means that the default behavior should be based on the fact
> whether there is or isn't a required ROM file to load.
>
> So I would like to start a discussion where would be the best place to fix this.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2016-07-22 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-22 14:55 [Qemu-devel] Missing PCI network device ROM bar on ARM Pavel Hrdina
2016-07-22 15:11 ` Daniel P. Berrange [this message]
2016-07-22 15:49 ` Pavel Hrdina
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=20160722151158.GS20567@redhat.com \
--to=berrange@redhat.com \
--cc=lersek@redhat.com \
--cc=phrdina@redhat.com \
--cc=qemu-devel@nongnu.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.