1. 16 11月, 2010 3 次提交
    • G
      switch vmware_vga to pci vgabios · 4eccfec4
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4eccfec4
    • G
      switch stdvga to pci vgabios · 543f8e34
      Gerd Hoffmann 提交于
      Make stdvga provide the new vgabios binary (with pcibios support)
      using the PCI option rom bar.  Seabios will happily load it from
      there.  The new vga bios will also lookup the framebuffer address
      in pci config space, so the magic bochs lfb @ 0xe0000000 is not
      needed any more -> zap it.
      
      Without the patch:
      
        # dmesg | grep framebuffer
        vesafb: framebuffer at 0xe0000000, mapped to 0xf7e80000, using 1875k, total 8192k
        # lspci -vs2
        00:02.0 VGA compatible controller: Technical Corp. Device 1111 (prog-if 00 [VGA controller])
      	Subsystem: Qumranet, Inc. Device 1100
      	Physical Slot: 2
      	Flags: fast devsel
      	Memory at f0000000 (32-bit, prefetchable) [size=8M]
      	Expansion ROM at <unassigned> [disabled]
      
      With patch applied:
      
        # dmesg | grep framebuffer
        vesafb: framebuffer at 0xf0000000, mapped to 0xf7e80000, using 1875k, total 8192k
        # lspci -vs2
        00:02.0 VGA compatible controller: Technical Corp. Device 1111 (prog-if 00 [VGA controller])
      	Subsystem: Qumranet, Inc. Device 1100
      	Physical Slot: 2
      	Flags: fast devsel
      	Memory at f0000000 (32-bit, prefetchable) [size=8M]
      	Expansion ROM at f0800000 [disabled] [size=64K]
      
      cheers,
        Gerd
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      543f8e34
    • G
      Add new vgabios binaries to blobs list. · 3b3d448e
      Gerd Hoffmann 提交于
      aliguori: update VGA BIOS
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3b3d448e
  2. 11 11月, 2010 1 次提交
  3. 10 11月, 2010 3 次提交
    • G
      spice: add audio · 3e313753
      Gerd Hoffmann 提交于
      Add support for the spice audio interface.  With this patch applied
      audio can be forwarded over the network from/to the spice client.  Both
      recording and playback is supported.
      
      The driver is first in the driver list, but the can_be_default flag is
      set only in case spice is active.  So if you have the spice protocol
      enabled the spice audio driver is the default one, otherwise whatever
      comes first after spice in the list.  Overriding the default using
      QEMU_AUDIO_DRV works in any case.
      
      [ v2: audio codestyle: add spaces before open parenthesis ]
      [ v2: add const to silence array ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Cc: malc <av1474@comtv.ru>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      3e313753
    • G
      intel-hda: fix codec addressing. · df0db221
      Gerd Hoffmann 提交于
      The HDA bus supports up to 15 codecs, with addresses 0 ... 14.
      We get that wrong in two places:
      
       * When handing out addresses we accept address 15 as valid.
       * The bitmasks for two registers (WAKEEN and STATESTS) don't
         have bit 14 set.
      
      This patch fixes it.
      
      [ v2: codestyle: add braces ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      df0db221
    • M
      Revert "intel-hda: fix codec addressing." · e2553eb4
      malc 提交于
      Misses braces
      
      This reverts commit acc08683.
      e2553eb4
  4. 09 11月, 2010 6 次提交
  5. 07 11月, 2010 1 次提交
  6. 04 11月, 2010 15 次提交
  7. 02 11月, 2010 3 次提交
  8. 01 11月, 2010 5 次提交
    • A
      Merge remote branch 'mst/for_anthony' into staging · 4f25ac5f
      Anthony Liguori 提交于
      4f25ac5f
    • M
      hda-audio: Zap tabs · 9fe5497c
      malc 提交于
      Signed-off-by: Nmalc <av1474@comtv.ru>
      9fe5497c
    • G
      Add Intel HD Audio support to qemu. · d61a4ce8
      Gerd Hoffmann 提交于
      This patch adds three devices to qemu:
      
      intel-hda
      	Intel HD Audio Controller, the PCI device.  Provides a HDA bus.
      	Emulates ICH6 at the moment.  Adding a ICH9 PCIE
      	variant shouldn't be hard.
      
      hda-duplex
      	HDA Codec.  Attaches to the HDA bus.  Supports 16bit stereo,
      	rates 16k -> 96k, playback, recording and volume control
      	(with CONFIG_MIXEMU=y).
      
      hda-output
      	HDA Codec without recording support.  Subset of the hda-duplex
      	codec.  Use this if you don't want your guests access your mic.
      
      Usage: add '-device intel-hda -device hda-duplex' to your command line.
      
      Tested guests:
       * Linux works.
       * Win7 works.
       * DOS (mpxplay) works.
       * WinXP doesn't work.
      
      [ v2 changes ]
       * Fixed endianess, big endian hosts work now.
       * Fixed some emulation bugs.
       * Added immediate command emulation.
       * Added vmstate support.
       * Make it behave like all other sound card drivers:
         - can be configured via '--audio-card-list=hda'
         - can be added to a VM using '-soundhw hda'
       * Code style fixups.
       * Zapped guest-triggerable asserts.
       * Handle partial reads/writes of audio data correctly.
      
      Cc: malc <av1474@comtv.ru>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      d61a4ce8
    • G
      add VMSTATE_BOOL · cdae5cfb
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      cdae5cfb
    • M
      Remove trailing whitespace · 12b6278f
      malc 提交于
      Signed-off-by: Nmalc <av1474@comtv.ru>
      12b6278f
  9. 31 10月, 2010 1 次提交
  10. 30 10月, 2010 2 次提交