1. 10 3月, 2016 7 次提交
  2. 04 3月, 2016 1 次提交
    • P
      loader: Add data swap option to load-elf · 7ef295ea
      Peter Crosthwaite 提交于
      Some CPUs are of an opposite data-endianness to other components in the
      system. Sometimes elfs have the data sections layed out with this CPU
      data-endianness accounting for when loaded via the CPU, so byte swaps
      (relative to other system components) will occur.
      
      The leading example, is ARM's BE32 mode, which is is basically LE with
      address manipulation on half-word and byte accesses to access the
      hw/byte reversed address. This means that word data is invariant
      across LE and BE32. This also means that instructions are still LE.
      The expectation is that the elf will be loaded via the CPU in this
      endianness scheme, which means the data in the elf is reversed at
      compile time.
      
      As QEMU loads via the system memory directly, rather than the CPU, we
      need a mechanism to reverse elf data endianness to implement this
      possibility.
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Crosthwaite <crosthwaite.peter@gmail.com>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7ef295ea
  3. 01 3月, 2016 7 次提交
  4. 11 2月, 2016 1 次提交
  5. 29 1月, 2016 1 次提交
  6. 27 1月, 2016 4 次提交
  7. 13 1月, 2016 13 次提交
  8. 12 1月, 2016 1 次提交
  9. 11 1月, 2016 1 次提交
  10. 03 12月, 2015 1 次提交
    • C
      virtio: handle non-virtio-1-capable backend for ccw · 11380b36
      Cornelia Huck 提交于
      If you run a qemu advertising VERSION_1 with an old kernel where
      vhost did not yet support VERSION_1, you'll end up with a device
      that is {modern pci|ccw revision 1} but does not advertise VERSION_1.
      This is not a sensible configuration and is rejected by the Linux
      guest drivers.
      
      To fix this, add a ->post_plugged() callback invoked after features
      have been queried that can handle the VERSION_1 bit being withdrawn
      and change ccw to fall back to revision 0 if VERSION_1 is gone.
      
      Note that pci is _not_ fixed; we'll need to rethink the approach
      for the next release but at least for pci it's not a regression.
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      11380b36
  11. 01 12月, 2015 2 次提交
  12. 12 11月, 2015 1 次提交