1. 22 11月, 2010 17 次提交
  2. 16 11月, 2010 2 次提交
  3. 14 11月, 2010 1 次提交
  4. 01 11月, 2010 3 次提交
    • 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
  5. 31 10月, 2010 1 次提交
  6. 30 10月, 2010 2 次提交
  7. 28 10月, 2010 8 次提交
  8. 23 10月, 2010 2 次提交
  9. 22 10月, 2010 4 次提交
    • K
      virtio-blk: Respect werror option for flushes · 8c269b54
      Kevin Wolf 提交于
      The werror option now affects not only write requests, but also flush requests.
      Previously, it was not possible to stop a VM on a failed flush.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      8c269b54
    • K
      ide: Handle flush failure · e2bcadad
      Kevin Wolf 提交于
      Instead of always assuming success for bdrv_aio_flush, actually do something
      with the error. This respects the werror option and accordingly ignores the
      error, reports it to the guest or stops the VM and retries after cont.
      
      Ignoring the error is trivial, obviously. For stopping the VM and retrying
      later old code can be reused, but we need to introduce a new status for "retry
      a flush". For reporting to the guest, fortunately the same action is required
      as for a failed read/write (status = DRDY | ERR, error = ABRT), so this code
      can be reused as well.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      e2bcadad
    • K
      ide: Factor ide_flush_cache out · 6bcb1a79
      Kevin Wolf 提交于
      The next patch reuses this code, so put it in its own function.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      6bcb1a79
    • C
      ide: set WCACHE supported in IDENTIFY data · a58b8d54
      Christoph Hellwig 提交于
      ATA does not only have the WCACHE enabled bit in identify word 85, but also
      a WCACHE supported bit in word 82.  While the Linux kernel is fine with the
      latter at least hdparm also needs the former before correctly displaying
      the cache settings.  There's also a non-zero chance other operating systems
      are more picky in their volatile write cache detection.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a58b8d54