1. 11 11月, 2011 1 次提交
  2. 08 11月, 2011 1 次提交
  3. 02 11月, 2011 1 次提交
  4. 21 10月, 2011 1 次提交
    • K
      pc: Fix floppy drives with if=none · 34d4260e
      Kevin Wolf 提交于
      Commit 63ffb564 broke floppy devices specified on the command line like
      -drive file=...,if=none,id=floppy -global isa-fdc.driveA=floppy because it
      relies on drive_get() which works only with -fda/-drive if=floppy.
      
      This patch resembles what we're already doing for IDE, i.e. remember the floppy
      device that was created and use that to extract the BlockDriverStates where
      needed.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      34d4260e
  5. 16 10月, 2011 3 次提交
  6. 11 10月, 2011 1 次提交
  7. 23 9月, 2011 1 次提交
  8. 03 9月, 2011 1 次提交
    • S
      Use new macro QEMU_PACKED for packed structures · 541dc0d4
      Stefan Weil 提交于
      Most changes were made using these commands:
      
      git grep -la '__attribute__((packed))'|xargs perl -pi -e 's/__attribute__\(\(packed\)\)/QEMU_PACKED/'
      git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'
      git grep -la '__attribute__((__packed__))'|xargs perl -pi -e 's/__attribute__\(\(__packed__\)\)/QEMU_PACKED/'
      git grep -la '__attribute__ ((__packed__))'|xargs perl -pi -e 's/__attribute__ \(\(__packed__\)\)/QEMU_PACKED/'
      git grep -la '__attribute((packed))'|xargs perl -pi -e 's/__attribute\(\(packed\)\)/QEMU_PACKED/'
      
      Whitespace in linux-user/syscall_defs.h was fixed manually
      to avoid warnings from scripts/checkpatch.pl.
      
      Manual changes were also applied to hw/pc.c.
      
      I did not fix indentation with tabs in block/vvfat.c.
      The patch will show 4 errors with scripts/checkpatch.pl.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      541dc0d4
  9. 22 8月, 2011 2 次提交
    • A
      440fx: fix PAM, PCI holes · ae0a5466
      Avi Kivity 提交于
      The current implementation of PAM and the PCI holes is broken in several
      ways:
      
        - PCI BARs are not restricted to the PCI hole (a BAR may hide memory)
        - PCI devices do not respect PAM (if a PCI device maps a region while
          PAM maps the region to RAM, the request will be honored)
      
      This patch fixes things by introducing a pci address space, and using
      memory region aliases to represent PAM regions, SMRAM, and PCI holes.
      
      The memory hierarchy looks something like
      
      system_memory
       |
       +--- low memory alias (0-0xe0000000)
       |      |
       |      +-- ram@0
       |
       +--- high memory alias (0x100000000-EOM)
       |      |
       |      +-- ram@0xe0000000
       |
       +--- pci hole alias (end of low memory-0x100000000)
       |      |
       |      +-- pci@end-of-low-memory
       |
       |
       +--- pam[n] (0xc0000-0xc3fff etc) (when set to pci, priority 1)
       |      |
       |      +-- pci@0xc4000 etc
       |
       +--- smram (0xa0000-0xbffff) (when set to pci/vga, priority 1)
              |
              +-- pci@0xa0000 etc
      
      ram (simple ram region)
      
      pci
       |
       +--- BARn
       |
       +--- VGA 0xa0000-0xbffff
       |
       +--- ROMs
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ae0a5466
    • A
      vga: drop get_system_memory() from vga devices and derivatives · be20f9e9
      Avi Kivity 提交于
      Instead, use the bus accessors, or get the address space directly
      from the board constructor.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      be20f9e9
  10. 21 8月, 2011 1 次提交
  11. 12 8月, 2011 1 次提交
    • A
      pc: make vgabios exit port more useful · 4333979e
      Anthony Liguori 提交于
      We've always listened on port 501 for vgabios panic messages.  In the entire
      time I've worked on QEMU, I've never actually seen a vgabios panic message :-)
      
      If we change the semantics of this port a little bit, it makes it possible to
      use it for more interesting use-cases.  I chose this approach instead of adding
      a new I/O port because it avoids having a guest visible change.
      
      This change allows single-byte access to port 501 and also uses the value
      written to construct an exit code.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4333979e
  12. 29 7月, 2011 2 次提交
  13. 08 6月, 2011 1 次提交
    • G
      Add an isa device for SGA · a90d4690
      Glauber Costa 提交于
      This patch adds a dummy legacy ISA device whose responsibility is to
      deploy sgabios, an option rom for a serial graphics adapter.
      The proposal is that this device is always-on when -nographics,
      but can otherwise be enable in any setup when -device sga is used.
      
      [v2: suggestions on qdev by Markus ]
      [v3: cleanups and documentation, per list suggestions ]
      Signed-off-by: NGlauber Costa <glommer@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a90d4690
  14. 08 5月, 2011 2 次提交
  15. 22 3月, 2011 1 次提交
  16. 12 3月, 2011 1 次提交
  17. 20 2月, 2011 4 次提交
  18. 12 2月, 2011 5 次提交
  19. 25 1月, 2011 1 次提交
  20. 07 1月, 2011 1 次提交
  21. 12 12月, 2010 1 次提交
  22. 09 12月, 2010 1 次提交
    • G
      spice: add qxl device · a19cbfb3
      Gerd Hoffmann 提交于
      qxl is a paravirtual graphics card.  The qxl device is the bridge
      between the guest and the spice server (aka libspice-server).  The
      spice server will send the rendering commands to the spice client, which
      will actually render them.
      
      The spice server is also able to render locally, which is done in case
      the guest wants read something from video memory.  Local rendering is
      also used to support display over vnc and sdl.
      
      qxl is activated using "-vga qxl".  qxl supports multihead, additional
      cards can be added via '-device qxl".
      
      [ v2: add copyright to files                     ]
      [ v2: use qemu-common.h for standard includes    ]
      [ v2: create separate qxl-vga device for primary ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a19cbfb3
  23. 21 11月, 2010 1 次提交
  24. 17 11月, 2010 2 次提交
  25. 16 11月, 2010 1 次提交
  26. 24 8月, 2010 1 次提交
    • B
      Rearrange block headers · 2446333c
      Blue Swirl 提交于
      Changing block.h or blockdev.h resulted in recompiling most objects.
      
      Move DriveInfo typedef and BlockInterfaceType enum definitions
      to qemu-common.h and rearrange blockdev.h use to decrease churn.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2446333c
  27. 13 7月, 2010 1 次提交