1. 02 6月, 2013 4 次提交
  2. 30 5月, 2013 1 次提交
  3. 29 5月, 2013 3 次提交
  4. 28 5月, 2013 4 次提交
  5. 26 5月, 2013 1 次提交
    • B
      Remove Sun4c, Sun4d and a few CPUs · 6a4e1771
      Blue Swirl 提交于
      Sun4c and Sun4d architectures and related CPUs are not fully implemented
      (especially Sun4c MMU) and there has been no interest for them.
      
      Likewise, a few CPUs (Cypress, Ross etc) are only half implemented.
      
      Remove the machines and CPUs, they can be re-added if needed later.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      6a4e1771
  6. 25 5月, 2013 2 次提交
  7. 24 5月, 2013 1 次提交
    • S
      rtl8139: flush queued packets when RxBufPtr is written · 00b7ade8
      Stefan Hajnoczi 提交于
      Net queues support efficient "receive disable".  For example, tap's file
      descriptor will not be polled while its peer has receive disabled.  This
      saves CPU cycles for needlessly copying and then dropping packets which
      the peer cannot receive.
      
      rtl8139 is missing the qemu_flush_queued_packets() call that wakes the
      queue up when receive becomes possible again.
      
      As a result, the Windows 7 guest driver reaches a state where the
      rtl8139 cannot receive packets.  The driver has actually refilled the
      receive buffer but we never resume reception.
      
      The bug can be reproduced by running a large FTP 'get' inside a Windows
      7 guest:
      
        $ qemu -netdev tap,id=tap0,...
               -device rtl8139,netdev=tap0
      
      The Linux guest driver does not trigger the bug, probably due to a
      different buffer management strategy.
      Reported-by: NOliver Francke <oliver.francke@filoo.de>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      00b7ade8
  8. 22 5月, 2013 3 次提交
  9. 20 5月, 2013 2 次提交
  10. 18 5月, 2013 2 次提交
  11. 17 5月, 2013 1 次提交
  12. 15 5月, 2013 5 次提交
  13. 14 5月, 2013 2 次提交
  14. 13 5月, 2013 1 次提交
  15. 12 5月, 2013 2 次提交
  16. 09 5月, 2013 3 次提交
    • H
      qxl: Call spice_qxl_driver_unload from qxl_enter_vga_mode · 0a2b5e3a
      Hans de Goede 提交于
      With a SPICE_DISPLAY_CAP_MONITORS_CONFIG capable client, the client needs to
      know what part of the primary to use for each monitor. If the guest driver
      does not support this, the server sends messages to the client for a
      single monitor spanning the entire primary.
      
      As soon as the guest calls spice_qxl_monitors_config_async once, the server
      sets the red_worker driver_has_monitors_config flag and stops doing this.
      
      This is a problem when the driver gets unloaded, for example after a reboot
      or when switching to a text vc with usermode mode-setting under Linux.
      
      To reproduce this start a multi-mon capable Linux guest which uses
      usermode mode-setting and then once X has started switch to a text vc. Note
      how the client window does not only not resize, if you try to resize it
      manually you always keep blackborders since the aspect is wrong.
      
      This patch calls a new spice-server method called spice_qxl_driver_unload
      which clears the driver_has_monitors_config flag inside the server, thereby
      fixing this.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0a2b5e3a
    • J
      virtio: properly validate address before accessing config · 5f5a1318
      Jason Wang 提交于
      There are several several issues in the current checking:
      
      - The check was based on the minus of unsigned values which can overflow
      - It was done after .{set|get}_config() which can lead crash when config_len
        is zero since vdev->config is NULL
      
      Fix this by:
      
      - Validate the address in virtio_pci_config_{read|write}() before
        .{set|get}_config
      - Use addition instead minus to do the validation
      
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Cc: Petr Matousek <pmatouse@redhat.com>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Acked-by: NPetr Matousek <pmatouse@redhat.com>
      Message-id: 1367905369-10765-1-git-send-email-jasowang@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5f5a1318
    • M
      virtio-pci: fix level interrupts · 62c96360
      Michael S. Tsirkin 提交于
      mask notifiers are never called without msix,
      so devices with backend masking like vhost don't work.
      Call mask notifiers explicitly at
      startup/cleanup to make it work.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Tested-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      62c96360
  17. 08 5月, 2013 2 次提交
  18. 07 5月, 2013 1 次提交
    • J
      virtio-net: properly check the vhost status during status set · d7108d90
      Jason Wang 提交于
      Commit 32993698 (vhost: disable on tap link down) tries to disable the vhost
      also when the peer's link is down. But the check was not done properly, the
      vhost were only started when:
      
      1) peer's link is not down
      2) virtio-net has already been started.
      
      Since == have a higher precedence than &&, place a brace to make sure both the
      conditions were met then does the check. This fixes the crash when doing a savem
      after set the link off which let qemu crash and complains:
      
      virtio_net_save: Assertion `!n->vhost_started' failed.
      
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Message-id: 1366972060-21606-1-git-send-email-jasowang@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d7108d90