1. 12 6月, 2015 1 次提交
  2. 04 6月, 2015 1 次提交
  3. 03 6月, 2015 2 次提交
    • S
      hw/i386/pc: Fix misusing qemu_allocate_irqs for single irq · 0b0cc076
      Shannon Zhao 提交于
      Since pc_allocate_cpu_irq only requests one irq, so let it just call
      qemu_allocate_irq.
      Signed-off-by: NShannon Zhao <zhaoshenglong@huawei.com>
      Signed-off-by: NShannon Zhao <shannon.zhao@linaro.org>
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      0b0cc076
    • S
      hw/i386/pc_piix: Fix memory leak · 2ba154cf
      Shannon Zhao 提交于
      valgrind complains about:
      ==16447== 8 bytes in 1 blocks are definitely lost in loss record 552 of 3,310
      ==16447==    at 0x4C2845D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==16447==    by 0x2E4FD7: malloc_and_trace (vl.c:2546)
      ==16447==    by 0x64C770E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
      ==16447==    by 0x36FB47: qemu_extend_irqs (irq.c:55)
      ==16447==    by 0x36FBD3: qemu_allocate_irqs (irq.c:64)
      ==16447==    by 0x24E622: pc_init1 (pc_piix.c:287)
      ==16447==    by 0x24E76A: pc_init_pci (pc_piix.c:310)
      ==16447==    by 0x2E9360: main (vl.c:4226)
      
      ==16447== 128 bytes in 1 blocks are definitely lost in loss record 2,569 of 3,310
      ==16447==    at 0x4C2845D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==16447==    by 0x2E4FD7: malloc_and_trace (vl.c:2546)
      ==16447==    by 0x64C770E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
      ==16447==    by 0x36FB47: qemu_extend_irqs (irq.c:55)
      ==16447==    by 0x36FBD3: qemu_allocate_irqs (irq.c:64)
      ==16447==    by 0x25BEB2: kvm_i8259_init (i8259.c:133)
      ==16447==    by 0x24E1F1: pc_init1 (pc_piix.c:219)
      ==16447==    by 0x24E76A: pc_init_pci (pc_piix.c:310)
      ==16447==    by 0x2E9360: main (vl.c:4226)
      Signed-off-by: NShannon Zhao <zhaoshenglong@huawei.com>
      Signed-off-by: NShannon Zhao <shannon.zhao@linaro.org>
      Reviewed-by: NMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      2ba154cf
  4. 01 6月, 2015 1 次提交
    • L
      i386/pc: pc_basic_device_init(): delegate FDC creation request · fd53c87c
      Laszlo Ersek 提交于
      This patch introduces no observable change, but it allows the callers of
      pc_basic_device_init(), ie. pc_init1() and pc_q35_init(), to request (or
      not request) the creation of the FDC explicitly.
      
      At the moment both callers pass constant create_fdctrl=true (hence no
      observable change).
      
      Assuming a board passes create_fdctrl=false, "floppy" will be NULL on
      output, and (beyond the FDC not being created) that NULL will be passed on
      to pc_cmos_init(). Luckily, pc_cmos_init() already handles that case.
      
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: John Snow <jsnow@redhat.com>
      Cc: "Gabriel L. Somlo" <gsomlo@gmail.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: qemu-block@nongnu.org
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      fd53c87c
  5. 31 5月, 2015 17 次提交
  6. 28 4月, 2015 1 次提交
  7. 20 3月, 2015 1 次提交
    • E
      Revert "target-i386: Disable HLE and RTM on Haswell & Broadwell" · 1ee91598
      Eduardo Habkost 提交于
      This reverts commit 13704e4c.
      
      With the Intel microcode update that removed HLE and RTM, there will be
      different kinds of Haswell and Broadwell CPUs out there: some that still
      have the HLE and RTM features, and some that don't have the HLE and RTM
      features. On both cases people may be willing to use the pc-*-2.3
      machine-types.
      
      So instead of making the CPU model results confusing by making it depend
      on the machine-type, keep HLE and RTM on the existing Haswell and
      Broadwell CPU models. The plan is to introduce "Haswell-noTSX" and
      "Broadwell-noTSX" CPU models later, for people who have CPUs that don't
      have TSX feature available.
      Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      1ee91598
  8. 16 3月, 2015 1 次提交
  9. 26 2月, 2015 2 次提交
  10. 13 2月, 2015 1 次提交
  11. 26 1月, 2015 2 次提交
  12. 09 1月, 2015 1 次提交
  13. 07 1月, 2015 1 次提交
  14. 15 12月, 2014 3 次提交
  15. 26 11月, 2014 1 次提交
  16. 23 11月, 2014 1 次提交
  17. 14 11月, 2014 1 次提交
  18. 04 11月, 2014 2 次提交