1. 06 Feb, 2016 1 commit
    • Stefano Stabellini's avatar
      fix MSI injection on Xen · 428c3ece
      Stefano Stabellini authored
      On Xen MSIs can be remapped into pirqs, which are a type of event
      channels. It's mostly for the benefit of PCI passthrough devices, to
      avoid the overhead of interacting with the emulated lapic.
      However remapping interrupts and MSIs is also supported for emulated
      devices, such as the e1000 and virtio-net.
      When an interrupt or an MSI is remapped into a pirq, masking and
      unmasking is done by masking and unmasking the event channel. The
      masking bit on the PCI config space or MSI-X table should be ignored,
      but it isn't at the moment.
      As a consequence emulated devices which use MSI or MSI-X, such as
      virtio-net, don't work properly (the guest doesn't receive any
      notifications). The mechanism was working properly when xen_apic was
      introduced, but I haven't narrowed down which commit in particular is
      causing the regression.
      Fix the issue by ignoring the masking bit for MSI and MSI-X which have
      been remapped into pirqs.
      Signed-off-by: 's avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Reviewed-by: 's avatarMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: 's avatarMichael S. Tsirkin <mst@redhat.com>
  2. 29 Jan, 2016 1 commit
    • Peter Maydell's avatar
      xen: Clean up includes · 21cbfe5f
      Peter Maydell authored
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      This commit was created with scripts/clean-includes.
      Signed-off-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-14-git-send-email-peter.maydell@linaro.org
  3. 14 Jan, 2016 2 commits
  4. 10 Sep, 2015 1 commit
  5. 10 Mar, 2015 1 commit
  6. 23 Jun, 2014 1 commit
  7. 07 May, 2014 1 commit
  8. 05 May, 2014 1 commit
  9. 05 Mar, 2014 1 commit
  10. 09 Sep, 2013 1 commit
  11. 25 Jun, 2013 1 commit
  12. 08 Apr, 2013 1 commit
    • Paolo Bonzini's avatar
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini authored
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: 's avatarPaolo Bonzini <pbonzini@redhat.com>
  13. 19 Dec, 2012 1 commit
  14. 03 Oct, 2012 2 commits
  15. 13 Apr, 2012 1 commit
  16. 13 Jan, 2012 1 commit
  17. 20 Dec, 2011 1 commit
  18. 19 Dec, 2011 1 commit
  19. 16 Jul, 2011 1 commit
    • Stefano Stabellini's avatar
      xen_console: support the new extended xenstore protocol · 0f51726a
      Stefano Stabellini authored
      Since CS 21994 on xen-unstable.hg and CS
      466608f3a32e1f9808acdf832a5843af37e5fcec on qemu-xen-unstable.git, few
      changes have been introduced to the PV console xenstore protocol, as
      described by the document docs/misc/console.txt under xen-unstable.hg.
      From the Qemu point of view, very few modifications are needed to
      correctly support the protocol: read from xenstore the "output" node
      that tell us what the output of the PV console is going to be.
      In case the output is a tty, write to xenstore the device name.
      Changes in v2:
      - fix error paths: free malloc'ed strings and close the xenstore
      connection before returning;
      - remove useless snprintf in xenstore_store_pv_console_info if i == 0.
      Changes in v3:
      - replace xs_daemon_open/xs_daemon_close with xs_open/xs_close.
      Changes in v4:
      - add a compatibility implementation of xs_open/xs_close.
      Changes in v5:
      - fix code style.
      [agraf] fix build error due to missing stub
      Signed-off-by: 's avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: 's avatarAlexander Graf <agraf@suse.de>
  20. 08 May, 2011 5 commits