<div dir="ltr">Ping - since there wasn't any reply so far - any best practices one could share?<div><br></div><div>Let me add a TL;DR:</div><div>- bump of ipxe rom versions change the size of virtio-net-pci.rom</div><div>- that breaks on migration "Length mismatch"</div><div><br></div><div>I'd guess the size of that rom has to be fixed up on the fly, but if that is really ok and how/where is the question.<br><div><br></div><div>Also to +1 on bad things for today - I made this a cross post to libvirt in case there is one that has done that in the past.</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 28, 2017 at 4:36 PM, Christian Ehrhardt <span dir="ltr"><<a href="mailto:christian.ehrhardt@canonical.com" target="_blank">christian.ehrhardt@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>migration issues due to rom changes seem to occur over and over in past years [1], [2],[3],[4],[5].</div><div>From the past I know several workarounds (like just truncating to the bigger size) but all have various deficiencies.</div><div><br></div><div><div>But OTOH rom's will always change due to fixes in them. And recently I found one such change [6] that affects the next Ubuntu release and wonder what the ?right?, well lets say best way to fix it would be.</div></div><div>Current issue:</div><div>Length mismatch: 0000:00:03.0/virtio-net-pci.<wbr>rom: 0x40000 in != 0x80000: Invalid argument<br></div><div>Due to efi-virtio.rom growing over 256k due to an update to a newer ipxe from upstream.</div><div><br></div><div>I beg your pardon (for not being educated enough on this yet), but I want to avoid to go a route that is fixing it in a sub-optimal way and ask for some guidance. There might be better ways in the modern qemu of today than there were in the past.</div><div>TL;DR I look for the best way (if any) to declare in the new qemu: "I know that the old size was smaller, let me fix that up on migration".</div><div><br></div><div>I'll try on my own as I expect the machine type structures/mechanisms (and we have Ubuntu specific types that could encapsulate the rom status from the ipxe package to be coupled with the type) have all that is needed.</div><div>Yet me almost randomly trying around there surely isn't the best way to go - so if there is some existing case or a short hint at what in there might be the best way to fixup a changed rom size on a migration I'd be very happy to hear about that.</div><div><br></div><div>[1]: <a href="https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1536331" target="_blank">https://bugs.launchpad.net/<wbr>ubuntu/+source/qemu/+bug/<wbr>1536331</a><br>[2]: <a href="https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg01881.html" target="_blank">https://lists.gnu.org/archive/<wbr>html/qemu-devel/2016-01/<wbr>msg01881.html</a><br>[3]: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1293566" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1293566</a><br>[4]: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1090093" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1090093</a><br>[5]: <a href="https://forge.univention.org/bugzilla/show_bug.cgi?id=38877" target="_blank">https://forge.univention.org/<wbr>bugzilla/show_bug.cgi?id=38877</a><br>[6]: <a href="https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/1713490" target="_blank">https://bugs.launchpad.net/<wbr>ubuntu/+source/ipxe/+bug/<wbr>1713490</a><div><br></div><div>P.S: As everybody else I don't mind so much on reverse migration to older releases</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_7996520167937113584gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div>