1. 03 5月, 2012 4 次提交
  2. 20 4月, 2012 1 次提交
  3. 18 4月, 2012 1 次提交
  4. 19 3月, 2012 3 次提交
  5. 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
  6. 27 2月, 2012 4 次提交
  7. 25 2月, 2012 1 次提交
  8. 21 2月, 2012 6 次提交
  9. 15 2月, 2012 1 次提交
  10. 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
  11. 28 1月, 2012 2 次提交
  12. 26 1月, 2012 1 次提交
  13. 17 1月, 2012 1 次提交
  14. 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
  15. 08 11月, 2011 1 次提交
  16. 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
  17. 25 10月, 2011 5 次提交
  18. 11 10月, 2011 1 次提交
  19. 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
  20. 07 9月, 2011 3 次提交