[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4] hvmloader, libxl: use the correct ACPI settings depending on device model
On 30/08/17 08:21, Roger Pau Monné wrote: > On Tue, Aug 29, 2017 at 05:29:53PM +0100, Igor Druzhinin wrote: >> We need to choose ACPI tables properly depending on the device >> model version we are running. Previously, this decision was >> made by BIOS type specific code in hvmloader, e.g. always load >> QEMU traditional specific tables if it's ROMBIOS and always >> load QEMU Xen specific tables if it's SeaBIOS. >> >> This change saves this behavior (for compatibility) but adds >> an additional way (xenstore key) to specify the correct >> device model if we happen to run a non-default one. Toolstack >> bit makes use of it. >> >> The enforcement of BIOS type depending on QEMU version will >> be lifted later when the rest of ROMBIOS compatibility fixes >> are in place. >> >> Signed-off-by: Igor Druzhinin <igor.druzhinin@xxxxxxxxxx> >> Reviewed-by: Paul Durrant <paul.durrant@xxxxxxxxxx> >> --- >> Changes in v4: >> * Use V1 port location unconditionally as modern versions of >> Qemu-trad use it anyway >> * Change confusing comments in ioreq.h >> >> Changes in v3: >> * move ACPI table externs into util.h >> >> Changes in v2: >> * fix insufficient allocation size of localent >> --- >> tools/firmware/hvmloader/ovmf.c | 3 --- >> tools/firmware/hvmloader/rombios.c | 3 --- >> tools/firmware/hvmloader/seabios.c | 3 --- > > You forgot to remove the calls to HVM_PARAM_ACPI_IOPORTS_LOCATION from > the above files. > I think I did that if you mean the change that I had before. These files now don't touch HVM_PARAM_ACPI_IOPORTS_LOCATION. >> diff --git a/xen/include/public/hvm/ioreq.h b/xen/include/public/hvm/ioreq.h >> index 2e5809b..cffee6b 100644 >> --- a/xen/include/public/hvm/ioreq.h >> +++ b/xen/include/public/hvm/ioreq.h >> @@ -103,14 +103,14 @@ typedef struct buffered_iopage buffered_iopage_t; >> * version number in HVM_PARAM_ACPI_IOPORTS_LOCATION. >> */ >> >> -/* Version 0 (default): Traditional Xen locations. */ >> +/* Version 0 (default): Traditional (obsolete) Xen locations. */ > > Could you please add a note saying this is only keep for migration > purposes (being able to migrate from older Xen versions)? > Sure. > Thanks, Roger. > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |