Skip to content
Snippets Groups Projects
  1. Jan 16, 2017
    • Leif Lindholm's avatar
      smbios: filter based on CONFIG_SMBIOS rather than TARGET · 1007a37e
      Leif Lindholm authored
      
      -smbios command line options were accepted but silently ignored on
      TARGET_ARM, due to a test for TARGET_I386 in arch_init.c.
      
      Copy the mechanism of hw/pci/pci-stub.c to implement an smbios-stub
      instead, enabled for all targets without CONFIG_SMBIOS.
      
      Signed-off-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
      Message-Id: <20161222151828.28292-1-leif.lindholm@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      1007a37e
    • Eduardo Habkost's avatar
      qom: Make all interface types abstract · 1c6d75d5
      Eduardo Habkost authored
      
      "qom-list-types abstract=false" currently returns all interface
      types, as if they were not abstract. Fix this by making sure all
      interface types are abstract.
      
      All interface types have instance_size == 0, so we can use
      it to set abstract=true on type_initialize().
      
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <1481567461-2341-1-git-send-email-ehabkost@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      1c6d75d5
    • Paolo Bonzini's avatar
      megasas: fix guest-triggered memory leak · 765a7070
      Paolo Bonzini authored
      
      If the guest sets the sglist size to a value >=2GB, megasas_handle_dcmd
      will return MFI_STAT_MEMORY_NOT_AVAILABLE without freeing the memory.
      Avoid this by returning only the status from map_dcmd, and loading
      cmd->iov_size in the caller.
      
      Reported-by: default avatarLi Qiang <liqiang6-s@360.cn>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      765a7070
    • hangaohuai's avatar
      bugfix: vm halt when in reset looping · bf7bb91e
      hangaohuai authored
      
      reset mc146818rtc device when RESET event happens.
      
      Fix the problem:
        1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboot;
        2. VM being reset by others, hmp_system_reset;
        3. seabios resume check the CMOS_RESET_CODE, if 0x0a, jump to the BDA
           resume execution by jump via 40h:0067h;
        4. Guest halt;
      
      Signed-off-by: default avatarhangaohuai <hangaohuai@huawei.com>
      Message-Id: <20161219060336.10176-1-hangaohuai@huawei.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      bf7bb91e
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-2.9-pull-request' into staging · 2ccede18
      Peter Maydell authored
      
      # gpg: Signature made Sat 14 Jan 2017 09:06:31 GMT
      # gpg:                using RSA key 0xF30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier/tags/m68k-for-2.9-pull-request:
        target-m68k: increment/decrement with SP
        target-m68k: CAS doesn't need aligned access
        target-m68k: manage pre-dec et post-inc in CAS
        target-m68k: fix gen_flush_flags()
        target-m68k: fix bit operation with immediate value
        m68k: Remove PCI and USB from config file
        target-m68k: Implement bfffo
        target-m68k: Implement bitfield ops for memory
        target-m68k: Implement bitfield ops for registers
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2ccede18
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170113' into staging · 02f50ca0
      Peter Maydell authored
      
      Fixes and more queued patches
      
      # gpg: Signature made Fri 13 Jan 2017 20:00:53 GMT
      # gpg:                using RSA key 0xAD1270CC4DD0279B
      # gpg: Good signature from "Richard Henderson <rth7680@gmail.com>"
      # gpg:                 aka "Richard Henderson <rth@redhat.com>"
      # gpg:                 aka "Richard Henderson <rth@twiddle.net>"
      # Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B
      
      * remotes/rth/tags/pull-tcg-20170113:
        tcg/aarch64: Fix tcg_out_movi
        tcg/aarch64: Fix addsub2 for 0+C
        target/arm: Fix ubfx et al for aarch64
        tcg/s390: Fix merge error with facilities
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      02f50ca0
  2. Jan 14, 2017
  3. Jan 13, 2017
  4. Jan 12, 2017
  5. Jan 11, 2017
Loading