* Re: any opinion on the patch "[RFC PATCH] hw/i386/e820: remove legacy reserved entries for e820"? EOM [not found] ` <20220304101846.ct3ge56w6gjq355o@sirius.home.kraxel.org> @ 2022-03-04 10:41 ` Ani Sinha 2022-03-04 10:46 ` Ani Sinha 0 siblings, 1 reply; 3+ messages in thread From: Ani Sinha @ 2022-03-04 10:41 UTC (permalink / raw) To: Gerd Hoffmann, QEMU Developers, Igor Mammedov On Fri, Mar 4, 2022 at 3:48 PM Gerd Hoffmann <kraxel@redhat.com> wrote: > > On Thu, Mar 03, 2022 at 03:12:51PM +0530, Ani Sinha wrote: > > On Thu, Mar 3, 2022 at 15:11 Gerd Hoffmann <kraxel@redhat.com> wrote: > > > > > Sorry, no. Noticed the discussions but don't remember the details and > > > didn't took the time to wade through the code to refresh my memory. > > > > Could you please take a look when you get time? You have the most context > > in this space I believe. > > Should indeed not be needed unless you use a stone-aged seabios version. > But I think you can't simply drop it for live migration compatibility > reasons. So you'll need do the compatibility dance and drop it for new > machine types only. I doubt the benefits outweigh that effort .. Igor what do you think? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: any opinion on the patch "[RFC PATCH] hw/i386/e820: remove legacy reserved entries for e820"? EOM 2022-03-04 10:41 ` any opinion on the patch "[RFC PATCH] hw/i386/e820: remove legacy reserved entries for e820"? EOM Ani Sinha @ 2022-03-04 10:46 ` Ani Sinha 2022-03-10 16:26 ` Igor Mammedov 0 siblings, 1 reply; 3+ messages in thread From: Ani Sinha @ 2022-03-04 10:46 UTC (permalink / raw) To: Gerd Hoffmann, QEMU Developers, Igor Mammedov On Fri, Mar 4, 2022 at 4:11 PM Ani Sinha <ani@anisinha.ca> wrote: > > On Fri, Mar 4, 2022 at 3:48 PM Gerd Hoffmann <kraxel@redhat.com> wrote: > > > > On Thu, Mar 03, 2022 at 03:12:51PM +0530, Ani Sinha wrote: > > > On Thu, Mar 3, 2022 at 15:11 Gerd Hoffmann <kraxel@redhat.com> wrote: > > > > > > > Sorry, no. Noticed the discussions but don't remember the details and > > > > didn't took the time to wade through the code to refresh my memory. > > > > > > Could you please take a look when you get time? You have the most context > > > in this space I believe. > > > > Should indeed not be needed unless you use a stone-aged seabios version. > > But I think you can't simply drop it for live migration compatibility > > reasons. So you'll need do the compatibility dance and drop it for new > > machine types only. I doubt the benefits outweigh that effort .. > > Igor what do you think? Since the static entries are separate from the rom file entries, I think we are in trouble only if the destination is using an old bios? Otherwise, the non-existence of the static entries should be simply ignored right? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: any opinion on the patch "[RFC PATCH] hw/i386/e820: remove legacy reserved entries for e820"? EOM 2022-03-04 10:46 ` Ani Sinha @ 2022-03-10 16:26 ` Igor Mammedov 0 siblings, 0 replies; 3+ messages in thread From: Igor Mammedov @ 2022-03-10 16:26 UTC (permalink / raw) To: Ani Sinha; +Cc: Gerd Hoffmann, QEMU Developers On Fri, 4 Mar 2022 16:16:38 +0530 Ani Sinha <ani@anisinha.ca> wrote: > On Fri, Mar 4, 2022 at 4:11 PM Ani Sinha <ani@anisinha.ca> wrote: > > > > On Fri, Mar 4, 2022 at 3:48 PM Gerd Hoffmann <kraxel@redhat.com> wrote: > > > > > > On Thu, Mar 03, 2022 at 03:12:51PM +0530, Ani Sinha wrote: > > > > On Thu, Mar 3, 2022 at 15:11 Gerd Hoffmann <kraxel@redhat.com> wrote: > > > > > > > > > Sorry, no. Noticed the discussions but don't remember the details and > > > > > didn't took the time to wade through the code to refresh my memory. > > > > > > > > Could you please take a look when you get time? You have the most context > > > > in this space I believe. > > > > > > Should indeed not be needed unless you use a stone-aged seabios version. > > > But I think you can't simply drop it for live migration compatibility > > > reasons. So you'll need do the compatibility dance and drop it for new > > > machine types only. I doubt the benefits outweigh that effort .. well, it's mostly dead and unused code path that needlessly complicates code and silently bit-rots for several years. (on both SeaBIOS and QEMU sides) > > Igor what do you think? > Since the static entries are separate from the rom file entries, I > think we are in trouble only if the destination is using an old bios? > Otherwise, the non-existence of the static entries should be simply > ignored right? If you take into account migration from older QEMU, it will migrate with old SeaBIOS (one that VM was started with on source side), then you can't just remove interfaces it might access from under its foot. So compat knobs are necessary. Considering that SeaBIOS switched to QEMU provided ACPI tables since 1.7, this machine type can serve as point where compat knob should be. Newer machine type (though technically possible) and SeaBIOS should not build its own ACPI tables and not use legacy interfaces necessary for it. Also since machine types older that 1.7 are deprecated now, we can remove them in 2 releases, which rules pre-QEMU-ACPI SeaBIOS out of the picture. So I'd think about preparing cleanup for SeaBIOS which removes legacy ACPI tables from it, and merge that once deprecated machine types are removed on QEMU side. And after that drop legacy ABI on QEMU side as no longer used. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-10 16:27 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CAARzgwyjqEs96QXthDs_yQi_s7qmMsLuH+4YQcq2Hx01_vY3EA@mail.gmail.com> [not found] ` <20220303094134.tuhhrvtstxwpksmh@sirius.home.kraxel.org> [not found] ` <CAARzgwxFuY=xMQmHU0cocG3ecznhVwQVTF0naaA6wwFkhwvOyA@mail.gmail.com> [not found] ` <20220304101846.ct3ge56w6gjq355o@sirius.home.kraxel.org> 2022-03-04 10:41 ` any opinion on the patch "[RFC PATCH] hw/i386/e820: remove legacy reserved entries for e820"? EOM Ani Sinha 2022-03-04 10:46 ` Ani Sinha 2022-03-10 16:26 ` Igor Mammedov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).