1. 28 5月, 2013 2 次提交
  2. 20 5月, 2013 2 次提交
  3. 17 5月, 2013 1 次提交
  4. 15 5月, 2013 5 次提交
  5. 14 5月, 2013 2 次提交
  6. 13 5月, 2013 1 次提交
  7. 12 5月, 2013 2 次提交
  8. 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
  9. 08 5月, 2013 2 次提交
  10. 07 5月, 2013 8 次提交
  11. 06 5月, 2013 11 次提交
  12. 05 5月, 2013 1 次提交