1. 17 1月, 2013 1 次提交
  2. 04 1月, 2013 1 次提交
  3. 19 12月, 2012 2 次提交
  4. 26 11月, 2012 2 次提交
  5. 23 10月, 2012 2 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
    • G
      serial: split serial.c · 488cb996
      Gerd Hoffmann 提交于
      Split serial.c into serial.c, serial.h and serial-isa.c.  While being at
      creating a serial.h header file move the serial prototypes from pc.h to
      the new serial.h.  The latter leads to s/pc.h/serial.h/ in tons of
      boards which just want the serial bits from pc.h
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      488cb996
  6. 07 10月, 2012 2 次提交
  7. 27 8月, 2012 1 次提交
  8. 24 8月, 2012 1 次提交
    • M
      vga: add some optional CGA compatibility hacks · 482f7bf8
      Matthew Ogilvie 提交于
      This patch adds some optional compatibility hacks (default
      disabled) to allow Microport UNIX to function under qemu.
      
      I've tried to structure it to be easy to add more hacks for other
      old CGA programs, if anyone ever needs them.
      
      Microport UNIX System V/386 v 2.1 (ca 1987) tries to program
      the CGA registers directly with neither the assistance of BIOS, nor
      with proper handling of EGA/VGA-only registers.  Note that it didn't
      work on real VGA hardware, either (although in that case, the most
      obvious problems seemed to be out-of-range hsync and/or vsync
      signalling, rather than the issues in this patch).
      
      Eventually real MDA and/or CGA support might provide an alternative to
      this patch, although a hybrid approach like this patch might still
      be useful in marginal cases.
      Signed-off-by: NMatthew Ogilvie <mmogilvi_qemu@miniinfo.net>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      482f7bf8
  9. 16 8月, 2012 1 次提交
  10. 20 6月, 2012 1 次提交
    • G
      Add PIIX4 properties to control PM system states. · 459ae5ea
      Gleb Natapov 提交于
      This patch adds two things. First it allows QEMU to distinguish between
      regular powerdown and S4 powerdown. Later separate QMP notification will
      be added for S4 powerdown. Second it allows S3/S4 states to be disabled
      from QEMU command line. Some guests known to be broken with regards to
      power management, but allow to use it anyway. Using new properties
      management will be able to disable S3/S4 for such guests.
      
      Supported system state are passed to a firmware using new fw_cfg file.
      The file contains  6 byte array. Each byte represents one system
      state. If byte at offset X has its MSB set it means that system state
      X is supported and to enter it guest should use the value from lowest 3
      bits.
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      459ae5ea
  11. 25 2月, 2012 1 次提交
    • G
      suspend: switch acpi s3 to new infrastructure. · da98c8eb
      Gerd Hoffmann 提交于
      This patch switches pc s3 suspend over to the new infrastructure.
      The cmos_s3 qemu_irq is killed, the new notifier is used instead.
      The xen hack goes away with that too, the hypercall can simply be
      done in a notifier function now.
      
      This patch also makes the guest actually stay suspended instead
      of leaving suspend instantly, so it is useful for more than just
      testing whenever the suspend/resume cycle actually works.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      da98c8eb
  12. 22 2月, 2012 1 次提交
  13. 17 2月, 2012 2 次提交
  14. 22 1月, 2012 1 次提交
  15. 19 1月, 2012 2 次提交
    • J
      kvm: x86: Add user space part for in-kernel i8259 · 10b61882
      Jan Kiszka 提交于
      Introduce the alternative 'kvm-i8259' device model that exploits KVM
      in-kernel acceleration.
      
      The PIIX3 initialization code is furthermore extended by KVM specific
      IRQ route setup. GSI injection differs in KVM mode from the user space
      model. As we can dispatch ISA-range IRQs to both IOAPIC and PIC inside
      the kernel, we do not need to inject them separately. This is reflected
      by a KVM-specific GSI handler.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      10b61882
    • J
      i8259: Completely privatize PicState · 9aa78c42
      Jan Kiszka 提交于
      Use DeviceState instead of PicState in the public i8259 API. This is
      cleaner and allows to reorganize the PIC data structures for KVM reuse.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      9aa78c42
  16. 21 12月, 2011 4 次提交
  17. 15 12月, 2011 1 次提交
  18. 25 11月, 2011 1 次提交
  19. 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
  20. 16 10月, 2011 6 次提交
  21. 02 10月, 2011 3 次提交
  22. 25 9月, 2011 1 次提交
  23. 23 9月, 2011 1 次提交
  24. 22 8月, 2011 1 次提交
    • 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