1. 12 9月, 2011 24 次提交
  2. 11 9月, 2011 7 次提交
  3. 10 9月, 2011 7 次提交
    • B
      PCI: delete unused mem_base and pci_to_cpu_addr · f64e02b6
      Blue Swirl 提交于
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      f64e02b6
    • B
      lsi53c895a: avoid a warning from clang analyzer · a6c6f44a
      Blue Swirl 提交于
      Avoid this warning from clang analyzer by deleting the variable:
      /src/qemu/hw/lsi53c895a.c:895:5: warning: Value stored to 'id' is never read
          id = (current_tag >> 8) & 0xf;
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      a6c6f44a
    • B
      hid: fix misassignment · 18f88f11
      Blue Swirl 提交于
      The code does not have any effect as is, fix it.
      
      Spotted by clang analyzer:
      /src/qemu/hw/hid.c:99:13: warning: Value stored to 'x1' is never read
                  x1 = 1;
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      18f88f11
    • B
      scsi-bus: remove duplicate table entries · 48bb9f53
      Blue Swirl 提交于
      Remove duplicate entries from SCSI command table, spotted by
      clang analyzer:
      /src/qemu/hw/scsi-bus.c:979:40: warning: initializer overrides prior initialization of this subobject
              [ ERASE_16                 ] = "ERASE_16",
      /src/qemu/hw/scsi-bus.c:978:40: note: previous initialization is here
              [ WRITE_SAME_16            ] = "WRITE_SAME_16",
      /src/qemu/hw/scsi-bus.c:984:40: warning: initializer overrides prior initialization of this subobject
              [ MAINTENANCE_IN           ] = "MAINTENANCE_IN",
      /src/qemu/hw/scsi-bus.c:917:40: note: previous initialization is here
              [ MAINTENANCE_IN           ] = "MAINTENANCE_IN",
      /src/qemu/hw/scsi-bus.c:985:40: warning: initializer overrides prior initialization of this subobject
              [ MAINTENANCE_OUT          ] = "MAINTENANCE_OUT",
      /src/qemu/hw/scsi-bus.c:918:40: note: previous initialization is here
              [ MAINTENANCE_OUT          ] = "MAINTENANCE_OUT",
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      48bb9f53
    • B
      g364fb: compile in hwlib · 1213406b
      Blue Swirl 提交于
      Compile g364fb in hwlib. Two compilations less for the full build.
      Acked-by: NHervé Poussineau <hpoussin@reactos.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      1213406b
    • G
      Don't use g_thread_get_initialized. · ad8b8186
      Gerd Hoffmann 提交于
      Initialize glib threads unconditionally in main() instead
      of using g_thread_get_initialized in the 9p code.
      
      Fixes a build failure on RHEL-5, which ships glib 2.12.
      g_thread_get_initialized was added in 2.20.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ad8b8186
    • A
      virtio-balloon: Disassociate from the balloon handlers on unplug · 3b86b13a
      Amit Shah 提交于
      Adding a 2nd balloon device after unplugging the first one doesn't work.
      Also, the 'info balloon' command should indicate an error mentioning no
      balloon device is registered after unplug.
      
      Reproduction steps given by Shaolong Hu:
      
      (qemu) info balloon
      Device 'balloon' has not been activated by the guest
      (qemu) device_add virtio-balloon-pci,id=balloon1
      (qemu) info balloon
      balloon: actual=4096
      (qemu) balloon 2048
      (qemu) info balloon
      balloon: actual=2048
      (qemu) device_del balloon1
      (qemu) info balloon
      balloon: actual=4096
      (qemu) balloon 2048
      (qemu) info balloon
      balloon: actual=4096
      (qemu) device_del balloon1
      Device 'balloon1' not found
      (qemu) device_add virtio-balloon-pci,id=balloon1
      Another balloon device already registered
      Device 'virtio-balloon-pci' could not be initialized
      (qemu) device_add virtio-balloon-pci,id=balloon2
      Another balloon device already registered
      Device 'virtio-balloon-pci' could not be initialized
      Reported-by: NShaolong Hu <shu@redhat.com>
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3b86b13a
  4. 09 9月, 2011 2 次提交