1. 27 1月, 2010 11 次提交
  2. 20 1月, 2010 8 次提交
    • G
      reduce number of reinjects on ACK · dc2ffbf6
      Gleb Natapov 提交于
      Windows 7 BSODs under load with HAL_RTC_IRQF_WILL_NOT_CLEAR error.
      
      It happens here:
      hal!HalpRtcUnmaskClock:
      8281b93a 8bff            mov     edi,edi
      8281b93c 56              push    esi
      8281b93d 33f6            xor     esi,esi
      8281b93f 6a0c            push    0Ch
      8281b941 e8b2ffffff      call    hal!CMOS_READ (8281b8f8)
      8281b946 84c0            test    al,al
      8281b948 7920            jns     hal!HalpRtcUnmaskClock+0x30 (8281b96a)
      8281b94a 6a0a            push    0Ah
      8281b94c 46              inc     esi
      8281b94d e854c8ffff      call    hal!KeStallExecutionProcessor (828181a6)
      8281b952 83fe64          cmp     esi,64h
      8281b955 72e8            jb      hal!HalpRtcUnmaskClock+0x5 (8281b93f)
      8281b957 6a00            push    0
      8281b959 6a00            push    0
      8281b95b 6a00            push    0
      8281b95d 680a010000      push    10Ah
      8281b962 6a5c            push    5Ch
      8281b964 ff1500c38082    call    dword ptr [hal!_imp__KeBugCheckEx (8280c300)]
      8281b96a 5e              pop     esi
      8281b96b c3              ret
      
      So it loops for 100(64h) times reading register C before BSOD. Lets
      reduce number of immediate reinjection well under this limit.
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit dd17765b)
      dc2ffbf6
    • L
      QMP: Fix asynchronous events delivery · d3bf9367
      Luiz Capitulino 提交于
      Commit f039a563 introduces
      a regression as monitor_protocol_event() will return in
      the first user Monitor it finds in the QLIST_FOREACH()
      loop.
      
      The right thing to do is to only delivery an asynchronous
      event if the 'mon' is a QMP Monitor.
      
      The aforementioned commit was an early version, if it was
      applied to stable (it should) this one has to be applied
      there too.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 23fabed1)
      d3bf9367
    • S
      Documentation: Add missing documentation for qdev related command line options · c502715a
      Stefan Weil 提交于
      The command line options -device, -nodefaults, -readconfig,
      -writeconfig had entries for command line help, but
      documentation for texi and derived formats (man, html, info)
      was missing.
      
      This also required moving "@end table" to the end of
      qemu-options.hx again.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 3dbf2c7f)
      c502715a
    • G
      pc: add driver version compat properties · b9a61d21
      Gerd Hoffmann 提交于
      This patch adds compat property entries for ide-disk.ver and
      scsi-disk.ver to pc-0.10 and pc-0.11.  With this patch applied
      the scsi and ide disks report "0.10" and "0.11" as version when
      you start qemu with "-M pc-0.10" or "-M pc-0.11".
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 374ef704)
      b9a61d21
    • G
      scsi: device version property · 9525204c
      Gerd Hoffmann 提交于
      This patch adds a new property named 'ver' to scsi-disk which allows to
      specify the version which the virtual disk/cdrom should report to the
      guest.  By default this is the qemu version (i.e. 0.12).  usage:
      
        -drive if=none,id=disk,file=...
        -device lsi
        -device scsi-disk,drive=disk,bus=scsi.0,unit=0,ver=42
      
      You can also switch the version for all scsi drives using:
      
        -global scsi-disk.ver=42
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 383b4d9b)
      9525204c
    • G
      ide: device version property · f79d556b
      Gerd Hoffmann 提交于
      This patch adds a new property named 'ver' to ide-drive which allows to
      specify the version which the virtual disk/cdrom should report to the
      guest.  By default this is the qemu version (i.e. 0.12).  usage:
      
        -drive if=none,id=disk,file=...
        -device ide-drive,bus=ide.0,unit=0,drive=disk,ver=42
      
      You can also switch the version for all ide drives using:
      
        -global ide-drive.ver=42
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 47c06340)
      f79d556b
    • A
      QMP: Emit asynchronous events on all QMP monitors · 41ae9ece
      Adam Litke 提交于
      When using a control/QMP monitor in tandem with a regular monitor, asynchronous
      messages can get lost depending on the order of the QEMU program arguments.
      QEMU events issued by monitor_protocol_event() always go to cur_mon.  If the
      user monitor was specified on the command line first (or it has ,default), the
      message will be directed to the user monitor (not the QMP monitor).
      Additionally, only one QMP session is currently able to receive async messages.
      
      To avoid this confusion, scan through the list of monitors and emit the message
      on each QMP monitor.
      Signed-off-by: NAdam Litke <agl@us.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit f039a563)
      41ae9ece
    • K
      Fix QEMU_WARN_UNUSED_RESULT · 40480d2b
      Kevin Wolf 提交于
      Since commit 747bbdf7 QEMU_WARN_UNUSED_RESULT is never defined as it is
      conditional on a define from config-host.h which is included only later.
      Include that file earlier to get the warnings back.
      
      Reactivating it unfortunately leads to some warnings about unused qdev_init
      results. These calls are changed to qdev_init_nofail to avoid build failures.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit beb6f0de)
      40480d2b
  3. 14 1月, 2010 4 次提交
    • A
      Update version and changelog for release · e389e937
      Anthony Liguori 提交于
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      e389e937
    • A
      Update SeaBIOS to 0.5.1 · 73b48d91
      Anthony Liguori 提交于
       - 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: NAnthony Liguori <aliguori@us.ibm.com>
      73b48d91
    • M
      Qemu's internal TFTP server breaks lock-step-iness of TFTP · 3999bf32
      Milan Plzik 提交于
      According to RFC 1350 and RFC 2347, TFTP server should answer RRQ by
      either OACK or DATA packet. Qemu's internal TFTP server answers RRQ with
      additional options by sending both OACK and DATA packet, thus breaking
      the "lock-step" feature of the protocol, and also confuses client.
      
        Proposed solution would be to, in case of OACK packet, wait for ACK
      from client and just then start sending data. Attached patch implements
      this.
      Signed-off-by: NThomas Horsten <thomas@horsten.com>
      Signed-off-by: NMilan Plzik <milan.plzik@gmail.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 1cb1a66a)
      3999bf32
    • K
      osdep.c: Fix accept4 fallback · a3441a43
      Kevin Wolf 提交于
      Commit 3a03bfa5 added a fallback in case the Linux kernel running qemu is older
      than the kernel of the build system. Unfortunately, v1 was committed instead of
      v2, so the code has a bug that was revealed in the review (checking for the
      wrong error code).
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      (cherry picked from commit 347ed55c)
      a3441a43
  4. 13 1月, 2010 13 次提交
  5. 12 1月, 2010 4 次提交