Fix QEMU build on OpenBSD on x86 archs
This resolves the build issue with building the ROMs on OpenBSD on x86 archs.As of OpenBSD 5.3 the compiler builds PIE binaries by default and thus thewhole OS/packages and so forth. The ROMs need to have PIE disabled....
Merge remote-tracking branch 'remotes/kraxel/tags/pull-roms-1' into staging
Update seabios to 1.7.4
Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Update seabios binaries to 1.7.4
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
pc-bios: Remove execute flag from BIOS files
BIOS files are not directly executable, so they don't need this flag.All other BIOS files don't use the execute flag.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Update OpenBIOS images
Update OpenBIOS images to SVN r1246 built from submodule.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
roms: update seabios binaries
roms: update vgabios binaries
This also switches from lgplvgabios to seavgabios.
sun4m: Add FCode ROM for TCX framebuffer
Upstream OpenBIOS now implements SBus probing in order to determine thecontents of a physical bus slot, which is required to allow OpenBIOS toidentify the framebuffer without help from the fw_cfg interface.
SBus probing works by detecting the presence of an FCode program...
Merge remote-tracking branch 'mjt/trivial-patches' into staging
qemu-char: add Czech keymap file
This patch adds Czech keyboard layout to available keymap filesand Makefile.
Signed-off-by: Jan Krupa <jkrupa@suse.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
pseries: Update SLOF firmware image
SLOF git commit is e2e8ac901e617573ea383f9cffd136146d0675a4
The full list of changes:...
This has reworked USB OHCI and adds support of USB EHCI,VIRTIO-SCSI and various fixes (IBM VSCSI, VGA and more).
Use qemu-project.org domain name
qemu.org is held by a third-party and no core community contributor hasaccess to the DNS configuration. This leaves the website exposed tooutages due to DNS issues or IP address changes. For example, if theweb server IP address needs to change we cannot guarantee qemu.org will...
Update OpenBIOS images to SVN r1229 built from submodule.
Merge remote-tracking branch 'kraxel/seabios-1.7.3.2' into staging
Message-id: 1380533055-24960-1-git-send-email-kraxel@redhat.com
update seabios from 1.7.2.2 to 1.7.3.2
'git shortlog d4f7d90f..ece025f5' says:
Alex Williamson (4): seabios q35: Enable all PIRQn IRQs at startup seabios q35: Add new PCI slot to irq routing function seabios: Add a dummy PCI slot to irq mapping function...
s390/ipl: Fix waiting for virtio processing
The guest side must not manipulate the index for the used buffers. Instead,remember the state of the used buffer locally and wait until it has moved.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>Acked-by: Alexander Graf <agraf@suse.de>...
s390/ipl: Update the s390-ccw.img rom
Rebuild of the virtio-ccw rom containing these patches:1. s390/ipl: Fix waiting for virtio processing
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Update OpenBIOS images to SVN r1198 built from submodule.
Merge remote-tracking branch 'agraf/s390-for-upstream' into staging
Message-id: 1375092324-23943-1-git-send-email-agraf@suse.de...
s390/IPL: Allow boot from other ssid than 0
We now take the subchannel set id also into account to find the boot device.If we want to use a subchannel set other than the default set 0, we firstneed to enable the mss facility.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>...
s390: update s390-ccw.img
This enables the following patches:
s390/IPL: Allow boot from other ssid than 0 s390/ipl: Fix spurious errors in virtio
Signed-off-by: Alexander Graf <agraf@suse.de>
w32, w64: Add build rule for installer
The new rules in Makefile allow building installers for QEMU on Windowsusing NSIS, a package which is also available for Linux distributions(so cross builds are possible).
The rules for NSIS are in qemu.nsi which also uses two new images....
seabios: update to 1.7.3
Changes summary (git shortlog rel-1.7.2.2..rel-1.7.3):
pc-bios: Update palcode-clipper
Update image to c87a92639b28ac42bc8f6c67443543b405dc479b,incorporating changes for vm_time.
Signed-off-by: Richard Henderson <rth@twiddle.net>
multiboot: Don't forget last mmap entry
When the BIOS returns ebx = 0, the current entry is still valid andneeds to be included in the Multiboot memory map.
Fixing this meant that using bx as the entry index doesn't work anymore because it's 0 on the last entry (and it was SeaBIOS-specific...
multiboot: Calculate upper_mem in the ROM
The upper_mem field of the Multiboot information struct doesn't reallycontain the RAM size - 1 MB like we used to calculate it, but only thememory from 1 MB up to the first (upper) memory hole.
In order to correctly retrieve this information, the multiboot ROM now...
multiboot: Updated ROM binary
Signed-off-by: Kevin Wolf <mail@kevin-wolf.de>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Message-id: 1372018066-21822-4-git-send-email-mail@kevin-wolf.deSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
gtk: use better icon
The current icon looks pretty terrible rendered in Gnome. Thisswitches to a transparent SVG which looks much nicer.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
s390/ipl: Fix spurious errors in virtio
With the ccw ipl code sometimes an error message like"virtio: trying to map MMIO memory" or"Guest moved used index from %u to %u" appeared. Turns outthat the ccw bios did not zero out the vring, which mightcause stale values in avail->idx and friends, especially...
update seabios to release 1.7.2.2
git shortlog from 1.7.2.1
Asias He (2): virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd} virtio-scsi: Set _DRIVER_OK flag before scsi target scanning
Kevin O'Connor (1): Cache boot-fail-wait to avoid romfile access after POST....
Merge branch 's390-for-upstream' of git://github.com/agraf/qemu
S390: BIOS boot from given device
Use the passed device, if there is no device, use the first applicable device.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
Now that we have boot device selection support, update the firmwareblob accordingly.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>...
Update OpenBIOS images to OpenBIOS 1.1 release (SVN r1136) built fromsubmodule.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
S390: ccw firmware: Add start assembly
We want to write most of our code in C, so add a small assemblystub that jumps straight into C code for us to continue booting.
S390: ccw firmware: Add main program
This C file is the main driving piece of the s390 ccw firmware. Itprovides a search for a workable block device, sets it as the defaultto boot off of and boots from it.
S390: ccw firmware: Add sclp output
In order to communicate with the user, we need an I/O mechanism that hecan read. Implement SCLP ASCII support, which happens to be the defaultin the s390 ccw machine.
This file is missing read support for now. It can only print messages....
S390: ccw firmware: Add virtio device drivers
In order to boot, we need to be able to access a virtio-blk device throughthe CCW bus. Implement support for this.
S390: ccw firmware: Add glue header
Like all great programs, we have to call between different functions indifferent object files. And all of them need a common ground of defines.
Provide a file that provides these defines.
S390: ccw firmware: Add bootmap interpreter
On s390, there is an architected boot map format that we can read toboot a certain entry off the disk. Implement a simple reader for thisthat always boots the first (default) entry.
S390: ccw firmware: Add Makefile
This patch adds a makefile, so we can build our ccw firmware. Alsoadd the resulting binaries to .gitignore, so that nobody is annoyedthey might be in the tree.
s390-ccw.img: replace while loop with a disabled wait on s390 bios
dont waste cpu power on an error condition. Lets stop the guestwith a disabled wait.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390-ccw.img: Take care of the elf->img transition
We have to call strip with s390-ccw.elf as input ands390-ccw.img as output
s390-ccw.img: Fix compile warning in s390 ccw virtio code
Lets fix this gcc warning:
virtio.c: In function ‘vring_send_buf’:virtio.c:125:35: error: operation on ‘vr->next_idx’ may be undefined[-Werror=sequence-point]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
s390-ccw.img: Detect devices with stsch.
stsch is the canonical way to detect devices. As a bonus, we canabort the loop if we get cc 3, and we need to check only the validdevices (dnv set).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390-ccw.img: Enhance drain_irqs().
- Use tpi + tsch to get interrupts.- Return an error if the irb indicates problems.
s390-ccw.img: Rudimentary error checking.
Try to handle at least some of the errors that may happen.
s390-ccw.img: Get queue config from host.
Ask the host about the configuration instead of guessing it.
S390: ccw firmware: Add compiled blob
Now that we have all the source code ready, add a compiled blob intothe QEMU source tree, so that people without access to an s390 compilercan run the s390-ccw firmware.
hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification.Right now there are many catch-all headers in include/hw/ARCH dependingon cpu.h, and this makes it necessary to compile these files per-target.However, fixing this does not belong in these patches....
ipxe: update binaries
Add efi rom binaries
update seabios to 1.7.2.1
Alex Williamson (3): seabios q35: Enable all PIRQn IRQs at startup seabios q35: Add new PCI slot to irq routing function seabios: Add a dummy PCI slot to irq mapping function
Avik Sil (1): USB-EHCI: Fix null pointer assignment...
Revert "Update OpenBIOS images"
This reverts commit 10442558ab1797bfbb01285b909e34c5cf038f12.
With the updated OpenBIOS image, -M g3beige fails to boot quik.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>...
Update OpenBIOS images to SVN r1097 built from submodule.
bios: recompile BIOS
SeaBIOS is really close to spilling over to 256k. Until we can betterhandle migration across RAM block size changes, recompile SeaBIOS witha compiler that causes the binary to still fit in 128k.
This was built with:
gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC)...
seabios: update to 1.7.2 release
Not that many changes as we have a pretty recent git snapshot in masteralready:
Hannes Reinecke (1): megasas: Invert PCI device selection
Kevin O'Connor (2): Minor: Separate UUID display from F12 boot prompt....
Update seabios to a810e4e72a0d42c7bc04eda57382f8e019add901
git shortlog:
Kevin O'Connor (6): floppy: Minor - reduce handle_0e code size when CONFIG_FLOPPY is disabled. vga: Minor comment spelling fix. Don't recursively evaluate CFLAGS variables....
Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf
pseries: Update SLOF for NVRAM support
Now that we have implemented PAPR compatible NVRAM interfaces in qemu, thisupdates the SLOF firmware to actually initialize and use the NVRAM as aPAPR guest firmware is expected to do.
This SLOF update also includes an ugly but useful workaround for a bug in...
seabios: update to e8a76b0f225bba5ba9d63ab227e0a37b3beb1059
This patch updates seabios to latest git master. Changes:
(1) q35 patches merged. (2) some acpi cleanups. (3) fixes irq 8 conflict.
(3) makes this a candidate for the stable branch
Cc: qemu-stable@nongnu.org...
Merge remote-tracking branch 'kraxel/seabios-b1c35f2' into staging
seabios: update binaries in pc-bios/
multiboot: fix e801 memory map
The e801 memory sizes in the multiboot structures hard-code the availablelow memory to 640. However, the value should not include the size of theEBDA. Fill the value in the option ROM, getting the size of low memoryfrom the BIOS....
Update OpenBIOS PPC image
Update OpenBIOS PPC image to SVN r1063 to fix issues introduced bycommit 9e56edcf. The code change in this revision only affects PPC,so OpenBIOS SPARC images are not updated.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Update OpenBIOS images to SVN r1062. Build with GCC 4.6.0in order to avoid boot problems introduced by GCC 4.7.[01].
This updates SLOF to handle the necessary device tree properties for MSIand MSI-X.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>Signed-off-by: Alexander Graf <agraf@suse.de>
pseries: Update SLOF
This patch updates the SLOF version, introducing a number of fixes: * add proper graphics support * fix bugs with graphical terminal under grub2 * fix bugs in handling of 64-bit unit addresses * fix VSCSI representation to be closer to PowerVM...
update seabios to latest master
Upstream seabios commit 5a023065388287e261ae9212452ff541f9fa9cd3
Major changes since 1.7.0: - Usual share of bugfixes and cleanups ;) - Support for 64bit PCI bars and mapping those above 4G. - Stack switching for real mode irq handlers to reduce...
qemu-keymaps: Finnish keyboard mapping broken
As mentioned in http://bugs.debian.org/660154 , finnish keyboard mappingis kind of broken. Fix it as Timo Sirainen suggests in #660154.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
PPC: e500: dt: create /soc8544 node dynamically
PPC: e500: dt: create serial nodes dynamically
PPC: e500: dt: create global-utils node dynamically
PPC: e500: dt: create pci node dynamically
PPC: e500: dt: start with empty device tree
Now that all of the device tree bits are generated during runtime, wecan get rid of the device tree blob and instead start from scratch withan empty device tree.
PPC: e500: dt: create memory node dynamically
PPC: e500: dt: create /cpus node dynamically
PPC: e500: dt: create /hypervisor node dynamically
PPC: e500: dt: create / node dynamically
pc-bios: Update OpenBIOS images
Update OpenBIOS images to r1060 built from submodule.
pc-bios: update OpenBIOS images
Update OpenBIOS images to SVN r1056.
sdl: Add QEMU mascot icon for use with SDL
This is a bitmap file (32x32x4) derived from the official QEMU mascot(which was designed by Benoît Canet). I stripped the text from the SVGto get a nearly square image and converted the result to BMP withoutany manual optimization....
seabios: update to 1.7.0
Update roms/seabios and pc-bios/bios.bin to the 1.7.0 release.Most noticable new feature is virtio-scsi support.
signrom: Rewrite as python script
Now that we have a hard dependency on python anyway, we can replace theslow shell script to calculate the option ROM checksum with a fast ANDportable python version. Tested both with python 2.7 and 3.1.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Merge remote-tracking branch 'qemu-kvm/memory/urgent' into staging
This patch updates the SLOF firmware image used on the pseriesmachine. The new version adds support for Cirrus VGA and virtfs, aswell as including a number of bugfixes.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>...
Update seabios to 1.6.3.2
pc-bios: update kvmvapic.bin
Signed-off-by: Avi Kivity <avi@redhat.com>
kvmvapic: Use optionrom helpers
Use OPTION_ROM_START/END from the common header file, add comment toinit code.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Avi Kivity <avi@redhat.com>
kvmvapic: Simplify mp/up_set_tpr
The CH registers is only written, never read. So we can remove theseoperations and, in case of up_set_tpr, also the ECX push/pop.
optionsrom: Reserve space for checksum
Always add a byte before the final 512-bytes alignment to reserve thespace for the ROM checksum.
kvmvapic: Add option ROM
This imports and builds the original VAPIC option ROM of qemu-kvm.Its interaction with QEMU is described in the commit that introduces thecorresponding device model.
optionroms: Silence intermediate file removal
The build process of optionroms spits out an "rm ..." line. Moreover, itremoves all .o files that can be handy for debugging purposes. Sodisable automatic intermediate removal.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
pseries: SLOF PCI flag day
Currently on the pseries machine the SLOF firmware is used normally,but we bypass it when -kernel is specified. Having these two
different boot paths can cause some confusion.
In particular at present we need to "probe" the (emulated) PCI bus and...
PPC: Bamboo: recompile device tree
Recent dtc doesn't compile our dts anymore. Change all hex numbers to have0x prefixes, indicate the old version and recompile using recent dtc.
This doesn't change any semantics in the device tree.
seabios: Update to release 1.6.3.1
User visible changes in seabios: - Probe HPET existence (fix for -no-hpet) - Probe PCI existence (fix for -machine isapc) - usb: fix boot paths
Fix spelling in comments, documentation and messages
accidently->accidentallyannother->anotherchoosen->chosenconsideres->considersdecriptor->descriptordevelopement->developmentparamter->parameterpreceed->precedepreceeding->precedingpriviledge->privilege...