qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 5f893b: Avoid asprintf() which is not availab


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5f893b: Avoid asprintf() which is not available on mingw
Date: Sat, 18 Aug 2012 13:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5f893b4e9c207c5a38cf7b141d2c54fa30046afd
      
https://github.com/qemu/qemu/commit/5f893b4e9c207c5a38cf7b141d2c54fa30046afd
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-08-18 (Sat, 18 Aug 2012)

  Changed paths:
    M hw/msix.c

  Log Message:
  -----------
  Avoid asprintf() which is not available on mingw

Use g_strdup_printf() instead.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: d83c951cce14dd3c7600c386d3791c4993744622
      
https://github.com/qemu/qemu/commit/d83c951cce14dd3c7600c386d3791c4993744622
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-08-18 (Sat, 18 Aug 2012)

  Changed paths:
    M hw/scsi-bus.c

  Log Message:
  -----------
  scsi: fix warning

hw/scsi-bus.c:758: warning: ‘xfer’ may be used uninitialized in this
function

Isn't true, but older gcc versions (for example 4.1 as shipped in rhel5)
are not clever enougth to figure, so sprinkle in a default: line to make
them happy.

Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: ff961015529437f4b83fca0a92069aebcf533c9c
      
https://github.com/qemu/qemu/commit/ff961015529437f4b83fca0a92069aebcf533c9c
  Author: Markus Armbruster <address@hidden>
  Date:   2012-08-18 (Sat, 18 Aug 2012)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: Round argument of -m up to multiple of 8KiB

Partial pages make little sense and don't work.  Ensure the RAM size
is a multiple of any possible target's page size.

Fixes

    $ qemu-system-x86_64 -nodefaults -S -vnc :0 -m 0.8
    qemu-system-x86_64: /work/armbru/qemu/exec.c:2255: register_subpage: 
Assertion `existing->mr->subpage || existing->mr == &io_mem_unassigned' failed.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: e89001f72edde37fb36fa7c964daa1bbeb2eca26
      
https://github.com/qemu/qemu/commit/e89001f72edde37fb36fa7c964daa1bbeb2eca26
  Author: Markus Armbruster <address@hidden>
  Date:   2012-08-18 (Sat, 18 Aug 2012)

  Changed paths:
    M hw/pc.c

  Log Message:
  -----------
  pc: Fix RTC CMOS info on RAM for ram_size < 1MiB

pc_cmos_init() always claims 640KiB base memory, and ram_size - 1MiB
extended memory.  The latter can underflow to "lots of extended
memory".  Fix both, and clean up some.

Note: SeaBIOS currently requires 1MiB of RAM, and doesn't check
whether it got enough.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/731dc9ecd4f2...e89001f72edd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]