Commits
memhp-wip
Name already in use
Commits on Nov 19, 2013
-
map 64-bit PCI BARs at location provided by emulator
Currently 64-bit PCI BARs are unconditionally mapped by BIOS right over 4G + RamSizeOver4G location, which doesn't allow to reserve extra space before 64-bit PCI window. For memory hotplug an extra RAM space might be reserved after present 64-bit RAM end and BIOS should map 64-bit PCI BARs after it. Introduce "etc/reserved-memory-end" romfile to provide BIOS a hint where it should start mapping of 64-bit PCI BARs. If romfile is missing, BIOS reverts to legacy behavior and starts mapping after high memory. Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- v3: * s/pcimem64-start/reserved-memory-end/ v2: * place 64-bit window behind high RAM end if "etc/pcimem64-start" point below it.Igor Mammedov committedNov 19, 2013
Commits on Oct 3, 2013
-
acpi: strip compiler info in built-in DSDT if any
IASL stores it's revision in each table header it generates. That's a problem since guests see a change each time they move between hypervisors. We generally fill our own info for tables, but we forgot to do this for the built-in DSDT. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-
acpi: load and link tables through romfile loader
Load files through romfile loader and use for acpi tables. We need the RSDP pointer to hang the rest of the tables off it, to detect that we simply scan all memory in FSEG. Add an option to disable this feature (useful for old QEMU versions). This saves about 1Kbytes. enabled: Total size: 134932 Fixed: 61571 Free: 127212 (used 51.5% of 256KiB rom) disabled: Total size: 133836 Fixed: 61563 Free: 128308 (used 51.1% of 256KiB rom) Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-
romfile_loader: utility to patch in-memory ROM files
Add ability for a ROM file to point to it's image in memory. When file is in memory, add utility that can patch it, storing pointers to one file within another file. This is not a lot of code: together with the follow-up patch to load ACPI tables from ROM, it's about 1K extra. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-
biostables: support looking up RSDP
Will be used when it's loaded from QEMU. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Commits on Sep 23, 2013
-
README: document which config options to use
In the interim of moving ACPI tables out of seabios, developers should get the config from QEMU tree to keep things in sync. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-
license: allow QEMU to reuse acpi bits under GPLv2+
You are getting this mail because you might have contributed code to one of the files in seabios that we want to reuse in QEMU, when this file was under GPLv3 or LGPLv3. QEMU is GPLv2 at the moment, so as a step in the process of moving acpi tables to qemu, we need to make sure the code we'll be moving is GPLv2 compatible. The code was originally LGPLv2 in bochs so these bits are OK. QEMU generally prefers GPLv2 or later, so this is what this patch does. The plan is therefore: - collect acks from everyone - copy code to QEMU and apply this patch to QEMU copy only If you allow the use of your contribution in QEMU under the terms of GPLv2 or later as proposed by this patch, please respond to this mail including the line: Acked-by: Name <email address> in the message body. Thanks! Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Commits on Sep 19, 2013
-
Recent git versions place the submodule git repos into the .git/modules directory of the toplevel repo. In that case .git of the seabios tree isn't a directory, but a regular file, saying where the gitdir is. Extent the git check to also allow .git being a regular file, so buildversion.sh works correctly when called within the qemu submodule. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
$subject says all. Support for usb3 streams is not implemented yet, otherwise it is fully functional. Tested all usb devices supported by qemu (keyboard, storage, usb hubs), except for usb attached scsi in usb3 mode (which needs streams). Tested on qemu only, tagged with QEMU_HARDWARE because of that. Testing with physical hardware to be done. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
Preparation for better xhci support: allows to notify host controllers instead of going through a free+alloc cycle. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
uas: add (temporary) superspeed stopgap
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
Add a qemu_preinit() call to csm initialization, so PF_QEMU gets set when running on qemu. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
Not needed any more, the new qemu_detect() function does the job instead. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
This patch adds support for detecting whenever SeaBIOS runs on qemu or not. This is done by looking at the northbridge (pci device 00:00.0) and check the subsystem id. Most pci devices emulated by qemu -- the two northbridges i440fx and q35 included -- have a subsystem id of "1af4:1100". In case the subsystem ID matches set PF_QEMU, log a message (including the northbridge found while being at it) and also check for kvm. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Merge bmp.h, boot.h, jpeg.h, and post.h into util.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move standard bda type info from biosvar.h to std/bda.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Split disk.h into block.h and std/disk.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move pmm definitions to new file std/pmm.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move pnpbios definition to new file std/pnpbios.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move fw/mptable.h to std/mptable.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move fw/smbios.h to std/smbios.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move optionroms.h to std/optionrom.h and util.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move pirtable definitions from hw/pci.h to std/pirtable.h and util.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
build: Fix import of gcc dependency files.
Make sure dependency file import works with new hw/ and fw/ sub-directories. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move definition of struct segoff_s from farptr.h to types.h.
The segoff_s definition is used by a number of header files that would not otherwise need farptr.h, so move it to a more central location. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move function definitions for output.c from util.h to new file output.h.
Also, sort the order of include files in the c files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move malloc code from pmm.c to new files malloc.c and malloc.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move romfile definitions from util.h to new file romfile.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Move stacks.c definitions from util.h to new file stacks.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
build: Perform compile checking on vgasrc code.
Perform a compile check on each individual C file of the vgabios code similar to the way that the main bios code does individual C compile tests. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-
Rename util.c to string.c and introduce string.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>