1. 29 2月, 2012 13 次提交
  2. 02 2月, 2012 1 次提交
  3. 21 1月, 2012 1 次提交
    • B
      virtio-pci: Fix endianness of virtio config · 82afa586
      Benjamin Herrenschmidt 提交于
      The virtio config area in PIO space is a bit special. The initial
      header is little endian but the rest (device specific) is guest
      native endian.
      
      The PIO accessors for PCI on machines that don't have native IO ports
      assume that all PIO is little endian, which works fine for everything
      except the above.
      
      A complicated way to fix it would be to split the BAR into two memory
      regions with different endianess settings, but this isn't practical
      to do, besides, the PIO code doesn't honor region endianness anyway
      (I have a patch for that too but it isn't necessary at this stage).
      
      So I decided to go for the quick fix instead which consists of
      reverting the swap in virtio-pci in selected places, hoping that when
      we eventually do a "v2" of the virtio protocols, we sort that out once
      and for all using a fixed endian setting for everything.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      [agraf: keep virtio in libhw and determine endianness through a
              helper function in exec.c]
      Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
      82afa586
  4. 13 1月, 2012 1 次提交
  5. 04 1月, 2012 20 次提交
  6. 20 12月, 2011 1 次提交
    • A
      memory: add API for observing updates to the physical memory map · 7664e80c
      Avi Kivity 提交于
      Add an API that allows a client to observe changes in the global
      memory map:
       - region added (possibly with logging enabled)
       - region removed (possibly with logging enabled)
       - logging started on a region
       - logging stopped on a region
       - global logging started
       - global logging removed
      
      This API will eventually replace cpu_register_physical_memory_client().
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      7664e80c
  7. 19 12月, 2011 2 次提交
  8. 16 12月, 2011 1 次提交