1. 19 3月, 2012 2 次提交
  2. 29 2月, 2012 1 次提交
    • G
      qxl: add optinal 64bit vram bar · 6f2b175a
      Gerd Hoffmann 提交于
      This patch adds an 64bit pci bar for vram.  It is turned off by default.
      It can be enabled by setting the size of the 64bit bar to be larger than
      the 32bit bar.  Both 32bit and 64bit bar refer to the same memory.  Only
      the first part of the memory is available via 32bit bar.
      
      The intention is to allow large vram sizes for 64bit guests, by allowing
      the vram bar being mapped above 4G, so we don't have to squeeze it into
      the pci I/O window below 4G.
      
      With vram_size_mb=16 and vram64_size_mb=256 it looks like this:
      
      00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 02) (prog-if 00 [VGA controller])
              Subsystem: Red Hat, Inc Device 1100
              Physical Slot: 2
              Flags: fast devsel, IRQ 10
              Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
              Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
              Memory at fd020000 (32-bit, non-prefetchable) [size=8K]
              I/O ports at c5a0 [size=32]
              Memory at ffe0000000 (64-bit, prefetchable) [size=256M]
              Expansion ROM at fd000000 [disabled] [size=64K]
      
      [ mapping above 4G needs patched seabios:
        http://www.kraxel.org/cgit/seabios/commit/?h=pci64 ]
      6f2b175a
  3. 27 2月, 2012 4 次提交
  4. 25 2月, 2012 1 次提交
  5. 21 2月, 2012 6 次提交
  6. 15 2月, 2012 1 次提交
  7. 04 2月, 2012 1 次提交
    • A
      qdev: register all types natively through QEMU Object Model · 39bffca2
      Anthony Liguori 提交于
      This was done in a mostly automated fashion.  I did it in three steps and then
      rebased it into a single step which avoids repeatedly touching every file in
      the tree.
      
      The first step was a sed-based addition of the parent type to the subclass
      registration functions.
      
      The second step was another sed-based removal of subclass registration functions
      while also adding virtual functions from the base class into a class_init
      function as appropriate.
      
      Finally, a python script was used to convert the DeviceInfo structures and
      qdev_register_subclass functions to TypeInfo structures, class_init functions,
      and type_register_static calls.
      
      We are almost fully converted to QOM after this commit.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      39bffca2
  8. 28 1月, 2012 2 次提交
  9. 26 1月, 2012 1 次提交
  10. 17 1月, 2012 1 次提交
  11. 04 1月, 2012 1 次提交
    • A
      vmstate, memory: decouple vmstate from memory API · c5705a77
      Avi Kivity 提交于
      Currently creating a memory region automatically registers it for
      live migration.  This differs from other state (which is enumerated
      in a VMStateDescription structure) and ties the live migration code
      into the memory core.
      
      Decouple the two by introducing a separate API, vmstate_register_ram(),
      for registering a RAM block for migration.  Currently the same
      implementation is reused, but later it can be moved into a separate list,
      and registrations can be moved to VMStateDescription blocks.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      c5705a77
  12. 08 11月, 2011 1 次提交
  13. 01 11月, 2011 1 次提交
    • A
      qxl: create slots on post_load in vga state · 54825d2e
      Alon Levy 提交于
      RHBZ 740547
      
      If we migrate when the device is in vga state the guest
      still believes the slots are created, and will cause operations
      that reference the slots, causing a "panic: virtual address out of range"
      on the first of them. Easy to see by migrating in vga mode with
      a driver loaded, for instance windows cmd window in full screen mode,
      and then exiting vga mode back to native mode will cause said panic.
      
      Fixed by doing the slot recreation in post_load for vga mode as well.
      Note that compat does not require any changes because it creates it's
      only slot by a side effect of QXL_IO_SET_MODE.
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      54825d2e
  14. 25 10月, 2011 5 次提交
  15. 11 10月, 2011 1 次提交
  16. 16 9月, 2011 1 次提交
    • L
      Replace the VMSTOP macros with a proper state type · 1dfb4dd9
      Luiz Capitulino 提交于
      Today, when notifying a VM state change with vm_state_notify(),
      we pass a VMSTOP macro as the 'reason' argument. This is not ideal
      because the VMSTOP macros tell why qemu stopped and not exactly
      what the current VM state is.
      
      One example to demonstrate this problem is that vm_start() calls
      vm_state_notify() with reason=0, which turns out to be VMSTOP_USER.
      
      This commit fixes that by replacing the VMSTOP macros with a proper
      state type called RunState.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      1dfb4dd9
  17. 07 9月, 2011 3 次提交
  18. 02 9月, 2011 1 次提交
    • A
      main: force enabling of I/O thread · 12d4536f
      Anthony Liguori 提交于
      Enabling the I/O thread by default seems like an important part of declaring
      1.0.  Besides allowing true SMP support with KVM, the I/O thread means that the
      TCG VCPU doesn't have to multiplex itself with the I/O dispatch routines which
      currently requires a (racey) signal based alarm system.
      
      I know there have been concerns about performance.  I think so far the ones that
      have come up (virtio-net) are most likely due to secondary reasons like
      decreased batching.
      
      I think we ought to force enabling I/O thread early in 1.0 development and
      commit to resolving any lingering issues.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      12d4536f
  19. 22 8月, 2011 1 次提交
  20. 21 8月, 2011 1 次提交
  21. 10 8月, 2011 2 次提交
  22. 08 8月, 2011 2 次提交