summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix multiboot compilationAlexander Graf2010-07-202-12/+28
| | | | | | | | | | | | | | | | | | | | | | | Commit dd4239d6574ca41c94fc0d0f77ddc728510ffc57 broke multiboot. It replaced the instruction "rep insb (%dx), %es:(%edi)" by the binary output of "addr32 rep insb (%dx), %es:(%di)". Linuxboot calls the respective helper function in a code16 section. So the original instruction was automatically translated to its "addr32" equivalent. For multiboot, we're running in code32 so gcc didn't add the "addr32" which breaks the instruction. This patch splits that helper function in one which uses addr32 and one which does not, so everyone's happy. The good news is that nobody probably cared so far. The bundled multiboot.bin binary was built before the change and is thus correct. Please also put this patch into -stable. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit 590bf491a49670843ee902c47f7ab1de5e9acd06)
* Merge commit '6173d56bdcb53389c54e803873e6bf8f87836a4f' into stable-0.12-mergeMarcelo Tosatti2010-02-251-0/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6173d56bdcb53389c54e803873e6bf8f87836a4f': (27 commits) Update version and change for 0.12.3 release qcow2: Fix access after end of array ide save/restore pio/atapi cmd transfer fields and io buffer net: Monitor command set_link finds only VLAN clients, fix net: info network shows only VLAN clients, fix net: net_check_clients() checks only VLAN clients, fix net: Fix bogus "Warning: vlan 0 with no nics" with -device net: net_check_clients() runs too early to see -device, fix net: Remove unused net_client_uninit() don't dereference NULL after failed strdup virtio-net: fix network stall under load json: fix PRId64 on Win32 fix inet_parse typo iothread: fix vcpu stop with smp tcg segfault due to buffer overrun in usb-serial qcow2: Fix signedness bugs Do not ignore error, if open file failed (-serial /dev/tty) pc-bios: update to newer version of (stable) seabios kvm: Fix eflags corruption in kvm mode target-mips: fix ROTR and DROTR by zero ... Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> modified: net/slirp.c
| * pc-bios: update to newer version of (stable) seabiosAnthony Liguori2010-02-231-0/+0
| | | | | | | | | | | | | | - 9fb3f4d Fix PkgLength calculation for the SSDT. - 6d75be2 Go back to using 0xf0000000 for PCI memory start. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge remote branch 'upstream/stable-0.12' into stable-0.12Avi Kivity2010-01-172-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/stable-0.12: (27 commits) Update version and changelog for release Update SeaBIOS to 0.5.1 Qemu's internal TFTP server breaks lock-step-iness of TFTP osdep.c: Fix accept4 fallback pc: add rombar to compat properties for pc-0.10 and pc-0.11 pci: allow loading roms via fw_cfg. roms: rework rom loading via fw fw_cfg: rom loader tweaks. roms: minor fixes and cleanups. pc: add machine type for 0.12 loader: more ignores for rom intended to be loaded by the bios vnc_refresh: return if vd->timer is NULL QMP: Don't free async event's 'data' Handle TFTP ERROR from client dmg: fix ->open failure virtio-pci: thinko fix pc-bios: Update README (SeaBIOS) vmware_vga: Check cursor dimensions passed from guest to avoid buffer overflow remove pending exception on vcpu reset. Fix CPU topology initialization ... Conflicts: hw/pc.c hw/pci.h qemu-options.hx Signed-off-by: Avi Kivity <avi@redhat.com>
| * Update SeaBIOS to 0.5.1Anthony Liguori2010-01-141-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 5da6833 Update version to 0.5.1 - 669c991 Fix sign error preventing incorrect memory over 4gig calculation. - 7e6bd3e Minor - better indent assembler in int1587. - 48cf232 Add comment explaining why mptable is in low memory. - 643062f Add int1589 support. - 085debd Set FDPT in irq table even for small drives. - 7c1b186 Reduce #ifs by weeding out some cross-chunk function definitions. - f9b25d3 Fix vgahook sign issue; add warning to build to catch future cases. - 3862b2d vgabios: Fix compile error due to fixed prototypes. - 1ca05b0 Be sure to add "void" to all function prototypes that take no args. - b5bb9db mptable: Reset pinmask on new bus or device. - 8918989 Detect latest FC12 gcc -combine breakage. - c9d3c2d Minor vga binary cleanups. - 9a8609f Make MTRR region 0xc0000-0x100000 be cached. - fdca418 Force a link error if a function is used from the wrong code chunk. - dad41d9 Add __noreturn define for __attribute__((noreturn)). - c003148 Implement native 32bit APM support. - 5c99b6c Commit compiled dsdt file; misc comment updates. - 29f4b91 prevent acpi from rerouting SCI interrupt - 4c94b7e enumerate all PCI buses in mptable - 871e0a0 Add support for 32bit PCI BIOS entry. - eda2c83 Only add "addr32" to memory accesses that require them. - 52a300f Introduce MODESEGMENT define; rename VISIBLE32 to VISIBLE32FLAT. - fe2c3ee Allocate smbios in temp space and copy into final location. - b164d2c Clear user reserved interrupts (0x60-0x66). - d9104ff Remove pci_bios_bigmem_addr; set pci_bios_mem_addr=0xe0000000 - 14021f2 Add initial support for ATA DMA. - 8362699 Allocate mptable in temp space and copy into final location. - 979862e Also report memory over 4G during init. - 928d4df provide correct pci routing information in mptable - afc02da Add symbolic definitions for MTRR code. - fb214dc Fix yield() so it works from boot code. - 2ceeec9 Fix potential build failure due to text16 section being too large. - a2195e4 Increase version in preparation for next release. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * pc-bios: Update README (SeaBIOS)Stefan Weil2010-01-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The PC BIOS no longer comes from Bochs. This patch updates the related entry. V2 - Modify SeaBIOS description and URL (Thanks to Gleb Natapov for the hint). Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit c0ced0f3a76c9f3ad680141f751dd1a20c91bbbf)
| * linuxboot: fix gdt address calculationAvi Kivity2010-01-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The gdt address calculation in linuxboot.bin is broken in two ways: first it loads %cs into %eax, but that instruction leaves the high bits of %eax undefined and we did not clear them. Secondly, we completely ignore the incorrect %eax, and use the undefined %ebx instead. With these issues fixed, linuxboot works again. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit d0652aa8ac8d82e077acf8e781557f4c4367dcf5)
* | linuxboot: fix gdt address calculationAvi Kivity2009-12-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | The gdt address calculation in linuxboot.bin is broken in two ways: first it loads %cs into %eax, but that instruction leaves the high bits of %eax undefined and we did not clear them. Secondly, we completely ignore the incorrect %eax, and use the undefined %ebx instead. With these issues fixed, linuxboot works again. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
* | Add vapic optionrom binaryAvi Kivity2009-12-201-0/+0
| | | | | | | | Signed-off-by: Avi Kivity <avi@redhat.com>
* | Merge commit 'fe1b69708c72b163d3acdf2bb012e169d2d3dda0' into stable-0.12-mergeAvi Kivity2009-12-201-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'fe1b69708c72b163d3acdf2bb012e169d2d3dda0': Update version and changelog for 0.12.1 Multiboot support: Fix rom_copy roms: allow roms to be loaded at address 0 Update for 0.12.0 release Update to SeaBIOS 0.5.0 Revert "monitor: Convert do_migrate_set_speed() to QObject" e1000: Don't muck with PCI commmand register monitor: do_balloon(): Use 'M' argument type monitor: Introduce 'M' argument type QMP: Update spec file QMP: Update README file QMP: Assure that returned data is a QDict QMP: Return an empty dict by default QMP: Only handle converted commands Update SeaBIOS to include PCI based option rom loading Signed-off-by: Avi Kivity <avi@redhat.com>
| * Update to SeaBIOS 0.5.0Anthony Liguori2009-12-191-0/+0
| | | | | | | | | | | | | | | | The only change is updating the makefile but that way we're carrying an official release. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit eac1bb74be4d95616b8a6217e020b1b0d6918608)
| * Update SeaBIOS to include PCI based option rom loadingAnthony Liguori2009-12-192-0/+0
| | | | | | | | | | | | | | Also remove pcbios from the tree. It will no longer work. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit 2dc3f77c86b6c3782f057af1d935ccddc052bed5)
* | Merge commit '3c547d7bb7889182d5bcecbb3edea4c71774c6a3' into stable-0.12-mergeAvi Kivity2009-12-201-12/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3c547d7bb7889182d5bcecbb3edea4c71774c6a3': (23 commits) Make sure to enable dirty tracking of VBE vram mapping vmware: setup PCI BAR 2 for FIFO as per vmware spec qdev: improve property error reporting. fix vga names in default_list usb-host: check mon before using it. usb-net: use qdev for -usbdevice Check rom_load_all() return value. defaults: update device_list[] defaults: split default_drive monitor: Catch printing to non-existent monitor monitor: Avoid readline functions in QMP monitor: do_balloon(): Check for errors monitor: Use 'device' in eject QDict: Fix size update qdev: Improve uni-north device names Avoid permanently disabled QEMU monitor when UNIX migration fails Fix loading of ELF multiboot kernels Revert "Rename DriveInfo.onerror to on_write_error" (fix mismerge) qemu-io: Fix memory leak Fix thinko in linuxboot.S ... Conflicts: hw/vga.c Signed-off-by: Avi Kivity <avi@redhat.com>
| * Fix thinko in linuxboot.SPaolo Bonzini2009-12-191-12/+8
| | | | | | | | | | | | | | | | | | The %gs segment that was used was not matching the comments. I just moved the GDT descriptor on the stack instead. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit 36ecd7c016f682437941a54193251cbf918bef0d)
* | Merge commit 'c99d32efe6970493c44fe410ee4a4aafc1a35428' into stable-0.12-mergeAvi Kivity2009-12-143-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c99d32efe6970493c44fe410ee4a4aafc1a35428': msix: function mask support msix: macro rename for function mask support cpuid: Fix multicore setup on Intel kvm: x86: Fix initial kvm_has_msr_star Update OpenBIOS images to r640 Update version to -rc1 Conflicts: hw/msix.c Signed-off-by: Avi Kivity <avi@redhat.com>
| * Update OpenBIOS images to r640Aurelien Jarno2009-12-063-0/+0
| | | | | | | | Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* | vapic: fix alignmentAvi Kivity2009-12-131-1/+5
| | | | | | | | | | | | | | Align the bios descriptor to 16 bytes (cosmetic) and the vptr to 128 bytes (worst case cache line). Signed-off-by: Avi Kivity <avi@redhat.com>
* | Merge commit 'd08d6f04d6eeedce5090ff66d0676162d7d8d788' into upstream-mergeAvi Kivity2009-12-073-6/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd08d6f04d6eeedce5090ff66d0676162d7d8d788': (23 commits) monitor: use qemu_gettimeofday(), not gettimeofday() win32: fix variable use before initialization monitor: rename EVENT_* to QEVENT_* to avoid conflict on mingw32 Sparc64: fix compilation with DEBUG_MMU ide: implement stub for audio control/volume read ide: Use some already defined page macros instead of constants eepro100: Improve debug messages Remove rule for config-devices.h eepro100: Allocate a larger buffer for regname() multiboot: Use signed type for negative error numbers posix-aio-compat: Fix error check qemu-img: Fix memory leak Fix compile error when LSI_DEBUG is defined Fix build for mingw32 on windows ($$ expansion) Fix build for mingw32 on windows ($@ in macro) e1000: Fix warning from code review multiboot: Fix module loading and setting of mmap. Make -kernel for linux work with bochsbios Fix recently introduced bugs in -usbdevice host Fix description of size parameter in qemu-img's help text ... Conflicts: monitor.c Signed-off-by: Avi Kivity <avi@redhat.com>
| * multiboot: Fix module loading and setting of mmap.Adam Lackorzynski2009-12-032-1/+4
| | | | | | | | | | | | Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * Make -kernel for linux work with bochsbiosAlexander Graf2009-12-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized that I was actually writing data to %es, but only set up %ds to a 32-bit segment we want to write to. So at the end of the day the data hasn't actually been copied. Oops. So here's a fix to set ES instead of DS, which makes -kernel work with BOCHS bios again (and actually makes the code do the correct thing)! Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit 'b0293e54af32bcf08f4b4e5b4b472534de343972' into upstream-mergeAvi Kivity2009-12-021-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b0293e54af32bcf08f4b4e5b4b472534de343972': Update SeaBIOS ARM atomic ops rewrite ARM RealView I2C GPIO I2C rework DS1338 RTC BCD cleanup Makefile dependencies for device configs target-mips: fix physical address type in MMU functions [WIN32] Enable -k option on Windows too target-mips: make CP0_LLAddr register CPU dependent target-mips: rename CP0_LLAddr into lladdr Conflicts: pc-bios/bios.bin (pick upstream's) Signed-off-by: Avi Kivity <avi@redhat.com>
| * Update SeaBIOSAnthony Liguori2009-11-231-0/+0
| | | | | | | | | | | | | | | | | | | | This includes the following changes: 42bc394 Make sure to reenable ata interrupts even on error. 494dfc6 Move SeaBIOS post/boot stack to avoid conflict with gPXE. 3133e38 Test for broken gcc -combine on FC12. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit 'dd4239d6574ca41c94fc0d0f77ddc728510ffc57' into upstream-mergeAvi Kivity2009-11-221-1/+4
|\| | | | | | | | | | | | | | | | | | | | | * commit 'dd4239d6574ca41c94fc0d0f77ddc728510ffc57': Allow build of linuxboot.S with old assemblers Avoid segfault on net_tap_init() failure tap-bsd: handle ifname on FreeBSD hosts Fix tap breakage on BSD hosts (no IFF_VNET_HDR) Fix OpenBSD build of qemu-io Signed-off-by: Avi Kivity <avi@redhat.com>
| * Allow build of linuxboot.S with old assemblersJuergen Lock2009-11-211-1/+4
| | | | | | | | | | | | | | | | | | In the spirit of ff56954baf9cfab5cbbe18d10b4a09e4a17f39a8, fix the build of linuxboot.S with old as(1) (as found in some BSD base systems) by emitting the bytes of the insn it doesn't like instead. Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* | Merge commit '57a46d0579951d7abbcbe86766f73afa93a5d370' into upstream-mergeAvi Kivity2009-11-225-70/+289
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '57a46d0579951d7abbcbe86766f73afa93a5d370': Convert linux bootrom to external rom and fw_cfg Move common option rom code to header file Convert multiboot to fw_cfg backed data storage Introduce rom_copy fw_cfg: change cur_offset to 32 bits Conflicts: pc-bios/optionrom/Makefile Signed-off-by: Avi Kivity <avi@redhat.com>
| * Convert linux bootrom to external rom and fw_cfgAlexander Graf2009-11-173-1/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have a working multiboot implementation that uses fw_cfg to get its kernel module etc. data in int19 runtime now. So what's missing is a working linux boot option rom. While at it I figured it would be a good idea to take the opcode generator out of pc.c and instead use a proper option rom, like we do with multiboot. So here it is - an fw_cfg using option rom for -kernel with linux! Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * Move common option rom code to header fileAlexander Graf2009-11-172-76/+110
| | | | | | | | | | | | | | | | | | | | We will have a linux boot option rom soon, so let's take all functionality that might be useful for both to a header file that both roms can include. That way we only have to write fw_cfg access code once. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * Convert multiboot to fw_cfg backed data storageAlexander Graf2009-11-171-17/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now we load the guest kernel to RAM, fire off the BIOS, hope it doesn't clobber memory and run an option rom that jumps into the kernel. That breaks with SeaBIOS, as that clears memory. So let's read all kernel, module etc. data using the fw_cfg interface when in the int19 handler. This patch implements said mechanism for multiboot. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * Update SeaBIOS to latestAnthony Liguori2009-11-171-0/+0
| | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit 'f527c57935e22b56952d1ed1af36070b682ecf70' into upstream-mergeAvi Kivity2009-11-221-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f527c57935e22b56952d1ed1af36070b682ecf70': fix parallel build qdev: Check if unplug handler exists before calling it Makefile: Fix definition of pxe-*.bin blobs eepro100: Add missing .exit initialisation eepro100: Fix boot ROM support Makefile: Prettify logging serial: Add interface to set reference oscillator frequency microblaze: Move the kcmdline out of the way. microblaze: Restore env when raising unmapped bus access. microblaze: Unbreak reset. Fix ARM MCore secondary cpu boot Reject late rom loading Fix ARM system emulation Conflicts: Makefile Signed-off-by: Avi Kivity <avi@redhat.com>
| * eepro100: Fix boot ROM supportStefan Weil2009-11-121-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename pxe-eepro100.bin to pxe-i82559er.bin. The other devices supported by eepro100.c need additional pxe boot ROM images. * Call rom_add_option during initialisation. The code won't work with two or more different eepro100 devices, because it only adds one option ROM, but this use case is perhaps never needed. Using this patch, model=i82559er at least works partially. For full support, more eepro100 patches are needed (will follow later, can be fetched from ar7 branch of QEMU). Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Revert bios to last qemu-kvm version of pcbios.binAvi Kivity2009-11-191-0/+0
| | | | | | | | | | | | Resolves Vista cd-rom issues. Signed-off-by: Avi Kivity <avi@redhat.com>
* | Use bios from upstream (seabios binary)Avi Kivity2009-11-151-0/+0
| | | | | | | | Signed-off-by: Avi Kivity <avi@redhat.com>
* | Merge commit 'ed7193ec1dfe201549388789f5bbfe8598fcaf31' into upstream-mergeMarcelo Tosatti2009-11-067-1/+1
|\| | | | | | | | | | | | | | | | | | | | | * commit 'ed7193ec1dfe201549388789f5bbfe8598fcaf31': Unbreak Linux build Update gpxe roms to have BANNER_TIMEOUT=0 Unbreak tap compilation on OS X Revert "Fall back to network boot as the last possible boot option" Fall back to network boot as the last possible boot option Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
| * Update gpxe roms to have BANNER_TIMEOUT=0Anthony Liguori2009-10-307-1/+1
| | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit '04095e5ff305fc25a214b52e005153af9d009d66' into upstream-mergeMarcelo Tosatti2009-11-067-4/+9
|\| | | | | | | | | | | | | | | | | | | | | * commit '04095e5ff305fc25a214b52e005153af9d009d66': Remove e1000 rom loading hack Switch from etherboot to gPXE Conflicts: hw/pc.c Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
| * Switch from etherboot to gPXEAnthony Liguori2009-10-307-4/+9
| | | | | | | | | | | | etherboot is deprecated and not under active development anymore. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * Switch pc bios from pc-bios to seabiosAnthony Liguori2009-10-302-0/+0
| | | | | | | | | | | | | | | | SeaBIOS is a port of pc-bios to GCC. Besides using a more modern tool chain, SeaBIOS introduces a number of new features including PMM support, better BEV and BCV support, and better PnP support. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit '93db66850d99fd9885edeff6af5679be51e1c610' into upstream-mergeMark McLoughlin2009-10-281-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '93db66850d99fd9885edeff6af5679be51e1c610': (81 commits) ne2k_isa: use qdev properties for configuration. qdev/net: common nic property bits qdev: add vlan property qdev: add netdev property qdev: mac addr property fixups net: add macaddr type. Send a RARP packet after migration. multiboot.S patch for old as(1) (was: Re: [Qemu-devel] Some OpenBSD/amd64 build fixes) raw/linux-aio: Also initialize POSIX AIO qcow2: Fix grow_refcount_table error handling usb-linux: return USB_RET_STALL on -EPIPE Makefile: Change make to be quiet again when doing nothing eepro100: Restructure code target-arm: use native tcg-ops for ror/bic/vorn target-arm: fix neon shift helper functions target-arm: fix neon vsri, vshl and vsli ops target-arm: allow modifying vfp fpexc en bit only target-arm: add support for neon vld1.64/vst1.64 instructions target-arm: fix neon vshrn/vrshrn ops target-arm: fix incorrect temporary variable freeing ... Signed-off-by: Mark McLoughlin <markmc@redhat.com>
| * multiboot.S patch for old as(1) (was: Re: [Qemu-devel] Some OpenBSD/amd64 ↵Juergen Lock2009-10-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build fixes) On Wed, Sep 23, 2009 at 10:55:02PM +0200, Juergen Lock wrote: > On Wed, Sep 23, 2009 at 09:31:16PM +0100, Laurence Tratt wrote: >[...] > > then the above error doesn't occur, but > > pc-bios/optionrom/multiboot.S dies as follows: > > > > $ > > AS optionrom/multiboot.o > > multiboot.S: Assembler messages: > > multiboot.S:116: Error: `%es:-4(%edi)' is not a valid 16 bit base/index > > expression > > $ > > > > What little Intel assembler I ever knew has long since departed from my > > brain, so I don't know why that error occurs, nor what a fix might be. > > > It occurs because of too old binutils (as(1) in this case), on FreeBSD > we now have a port for newer ones, > http://www.freshports.org/devel/binutils > so I depend on that and have the optionrom Makefile use the new as > like this: (the first change wrt CFLAGS is unrelated and has probably > been fixed in the meantime; it caused gmake to complain about > recursive use of CFLAGS.) > > Index: qemu/pc-bios/optionrom/Makefile > @@ -9,10 +9,13 @@ > > CFLAGS = -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin > CFLAGS += -I$(SRC_PATH) > -CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector,"") > +CFLAGS := $(CFLAGS) $(call cc-option, $(CFLAGS), -fno-stack-protector,"") > > build-all: multiboot.bin > > +%.o: %.S > + $(CC) -E $(CFLAGS) -o - -c $< |${LOCALBASE}/bin/as -V -Qy -o $@ > + > %.img: %.o > $(call quiet-command,$(LD) -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@") > That patch didn't seem to help on OpenBSD so I now finally got around making another one that just emits the bytes of the offending insn instead so people can keep using old assemblers: Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Update bios.bin (vapic removal)Avi Kivity2009-10-261-0/+0
| | | | | | | | Signed-off-by: Avi Kivity <avi@redhat.com>
* | Make vapic.S into optional romGleb Natapov2009-10-262-1/+312
| | | | | | | | | | Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* | Merge commit '1215c6e7615897e4a0bfd6867b762a47fc34f37f' into upstream-mergeMarcelo Tosatti2009-10-141-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1215c6e7615897e4a0bfd6867b762a47fc34f37f': Move generation of config-host.h to Makefile from configure Don't include config-host.mak from inside config.mak CRIS: Update PR_EDA on TLB faults. Clean up test for qdev_init() failure Warn if value of qdev_init() isn't checked Make isa_create() terminate program on failure New qdev_init_nofail() Check return value of qdev_init() Make qdev_init() destroy the device on failure Unbreak USB autoconnect filters tcg: improve output log target-i386: fix ARPL configure and Makefile are not generated in qemu Don't use implicit rules for Makefile optionrom: create .PHONY variable add build-all to .PHONY rules optionrom: remove use of implicit RM variable AIOLIBS is not used anywhere qdev: move comment Conflicts: Makefile Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
| * optionrom: create .PHONY variableJuan Quintela2009-10-061-0/+1
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * optionrom: remove use of implicit RM variableJuan Quintela2009-10-061-1/+1
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit '07caea315a85ebfe90851f9c2e4ef3fdd24117b5' into upstream-mergeAvi Kivity2009-10-061-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '07caea315a85ebfe90851f9c2e4ef3fdd24117b5': Fix pci_add nic not to exit on bad model Make it obvious that pci_nic_init() can't fail Fix pci_add storage not to exit on bad first argument Fix pci_vga_init() not to ignore bus argument set correct CS seg limit and flags on sipi Set revision in eeprom correctly for 82557 versions. restore CFLAGS check for conflict and fix recursive CFLAGS issue virtio-pci: return error if virtio_console_init fails qdev: show name of device that fails init vnc: Set invalid buffer pointers to NULL eepro100: Don't allow guests to fail assertions qcow2: Increase maximum cluster size to 2 MB qemu/virtio-pci: remove unnecessary check Conflicts: hw/pc.c Signed-off-by: Avi Kivity <avi@redhat.com>
| * restore CFLAGS check for conflict and fix recursive CFLAGS issueThomas Monjalon2009-10-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | cc-option uses more make-syntax to replace the shell "if/else". Issue with recursive += is fixed by doing the first assignment simply-expanded, as explained in http://www.gnu.org/software/make/manual/html_node/Appending.html Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * update pc-bios/bios.binGerd Hoffmann2009-10-051-0/+0
| | | | | | | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Merge commit '1a621c8dc9e4dcc9d385bdd2c24c5b5dbfd0ebe4' into upstream-mergeMarcelo Tosatti2009-09-141-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1a621c8dc9e4dcc9d385bdd2c24c5b5dbfd0ebe4': (51 commits) ram: remove support for loading v1 move mux focus field from CharDriverState to MuxDriver monitor: fix muxing qdev: add parser for chardev properties Allow -serial chardev:<name> convert udp chardev to QemuOpts. convert mux chardev to QemuOpts. convert vc chardev to QemuOpts. convert tty + parport chardevs to QemuOpts. convert windows console chardev to QemuOpts. convert braille chardev to QemuOpts. convert msmouse chardev to QemuOpts. convert stdio chardev to QemuOpts. convert pty chardev to QemuOpts. convert unix+tcp chardevs to QemuOpts. sockets: add inet_listen_opts sockets: add inet_connect_opts sockets: add unix_*_opts for windows. sockets: add unix_listen_opts sockets: add unix_connect_opts ... Conflicts: vl.c Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
| * Update OpenBIOS images to r577Aurelien Jarno2009-09-111-0/+0
| | | | | | | | Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>