On 11/7/23 12:49, Gerd Hoffmann wrote: >> Hi, thanks for the response, >> >> just to be sure, this is a regression (it worked fine prior to the seabios >> update). > > Yes. > >> Address sizes: 43 bits physical, 48 bits virtual > > OK. > >> [ 0.881472] pci 0000:00:01.0: PCI bridge to [bus 01] >> [ 0.882262] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff] >> [ 0.886991] pci 0000:00:01.0: bridge window [mem 0xfe800000-0xfe9fffff] >> [ 0.890308] pci 0000:00:01.0: bridge window [mem >> 0xe1a000000000-0xe1bfffffffff 64bit pref] > > This is the change btw, the 64-bit mmio window is moved. > Apparently we got 48 bits guest physical address space. > >> [ 8.331290] vmap allocation for size 211106232541184 failed: use >> vmalloc=<size> to increase size. >> [ 8.332666] virtio-pci 0000:01:00.0: virtio_pci: unable to map virtio >> 56@0 on bar 4 >> [ 8.334166] virtio-pci: probe of 0000:01:00.0 failed with error -22 > > And here things go wrong. The size is /way/ off (bar 4 is 16k). > > Can you try to reduce the guest physical address space? > Try 46 instead of 48 first, if that doesn't help try > smaller values. > > qemu command line: > -cpu host,host-phys-bits-limit=46 > > libvirt xml: > <cpu ...> > <maxphysaddr mode='emulate' bits='46'/> > </cpu> > > take care, > Gerd >
Thanks, this works, I tested with the 46 bit limit. In terms of virt-install, I used the extra option: --qemu-commandline='-cpu host,host-phys-bits-limit=46' Charles maybe something to update the older os info definitions (for QEMU 8.2 and newer..?) The idea is just that the toolstack could automatically correct for this for older Linux guests, requiring a limit on the host-phys-bits. Exactly how, I don't know what's best. Thanks, Claudio
