[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libxl - b_info.{acpi,apic} behaves differently than b_info.u.hvm.{acpi,apic}


  • To: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 10 Sep 2020 12:41:04 +0200
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 10 Sep 2020 10:41:20 +0000
  • Ironport-sdr: HbPuYwMaEC1+KrcnxajZ57r/mMJNfBR1plUNB/Gv960Fikb2XHL9jL5v3MMgt2h/MLI1e1gIdf T9T9uL4GevT6XR48Ru6kcCz5HKiNMl4DDCGmXvH3/TZQ4/uxHqA96pHA6/SP4I0RKFSAERxGOT /WuJxoJxY2Q3PVaO4NK1OdC6l2DjoUQBJJ2sDPVjExF6oK3cTTx6/9ABu9Lv7PsAHKoUxotnzL sGsl22nOMhXjlVltICa7RRca9b3KiuBoaH41PusQuy6MLEoGz3zsgMllV4ddxctLzDYxlLprSP aZs=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Adding toolstack maintainers.

On Thu, Sep 10, 2020 at 12:29:21PM +0200, Marek Marczykowski-Górecki wrote:
> On Thu, Sep 10, 2020 at 10:51:48AM +0200, Roger Pau Monné wrote:
> > On Thu, Sep 10, 2020 at 05:57:23AM +0200, Marek Marczykowski-Górecki wrote:
> > > Hi,
> > > 
> > > After updating from Xen 4.13 to Xen 4.14 I have troubles starting any
> > > HVM: just after hvmloader saying "Invoking SeaBIOS" I get "(XEN) MMIO
> > > emulation failed (1): d29v0 32bit @ 0008:fffeedf d -> "
> > > 
> > > I come to a situation where seemingly the same domU started via xl
> > > works, while when started via libvirt it crashes. This seems to be
> > > related to xl setting b_info.{acpi,apic}, while libvirt setting
> > > b_info.u.hvm.{acpi,apic}. Modifying libvirt to use the former fixes the
> > > issue.
> > 
> > Could you print the values of the involved fields at the end of
> > libxl__domain_build_info_setdefault in both cases?
> > 
> > I'm not able to spot what changed between 4.13 and 4.14 that could
> > alter the behavior, but knowing the values at that point might make
> > it easier.
> 
> Sure, will do.
> It may be also something else: maybe it acpi/apic settings were broken
> before, but did not results in a domU crash this way.
> FWIW when looking into /var/lib/xen/*-libxl-json I clearly see
> difference between b_info.{acpi,apic} and b_info.u.hvm.{acpi,apic}.

I think libxl__domain_build_info_setdefault should check whether
b_info.u.hvm.{acpi,apic} is set and copy those into b_info.{acpi,apic}
if those are not set?

Toolstack people is more likely to have an opinion here, or to help
debug the issue.

> > > So, handling the old option got broken sometime between 4.13 and 4.14.
> > > Or perhaps it is some other related side effect.
> > 
> > Libvirt master tests seem to have been failing for some time (60 days)
> > in the build phase [0], maybe you are using a newer version of libvirt
> > than what osstest is currently testing? (Xen flights are currently
> > stuck at libvirt commit 2c846fa6bcc11929c9fb857a22430fb9945654ad).
> 
> I use libvirt 6.6.0, so even older one, and in fact updated it from
> 6.4.0 together with Xen 4.14. But I don't see relevant change between
> those two versions.
> 
> BTW The libvirt build may require more attention, they've changed build
> system... Now it is built with meson/ninja (haven't figured it out yet).

If you can figure out and send a patch to fix oostest that would be
great!

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.