1. 01 11月, 2010 4 次提交
    • 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
  2. 31 10月, 2010 1 次提交
  3. 30 10月, 2010 14 次提交
  4. 26 10月, 2010 3 次提交
    • A
      Merge remote branch 'qmp/for-anthony' into staging · 174b2877
      Anthony Liguori 提交于
      174b2877
    • A
      21bcc590
    • A
      seabios: Update to 0.6.1 · 758c309f
      Anthony Liguori 提交于
       - 0ff9051 Update version to 0.6.1
       - 9c000e6 Support Samsung SE-S084 USB DVD drive (and probably many others)
       - eebe949 pciinit: remove unused variable, old_addr, in pci_set_io_region_addr().
       - 06644f4 Minor - indentation change to jpeg.c.
       - 2dcd9fa Enhance tools/readserial.py to support reading from a pipe.
       - 7ce09ae Make tools/transdump.py more resilient to unknown input.
       - 6039fc5 Update qemu_cfg_read to use "rep insb".
       - 9a01a9c Only show bootsplash during boot menu.
       - 5feb83c add write support to virtio-blk
       - 22f6378 Don't try to talk to APIC on 486
       - e2074bf Add ACPI SSDT/DSDT support for CPU hotplug.
       - eb6dc78 Add additional debug status messages to bootsplash code.
       - c8e4e88 Allow qemu to use bootsplash code via fwcfg interface.
       - 597040d Add tools/trandump.py tool for converting hexdump() output.
       - 48f5f8b Default bootsplash on (for coreboot users).
       - 8d85eb1 Autodetect video mode based on bootsplash jpeg dimensions.
       - b2b9d4a Rename "decdata" to "jpeg" in bootsplash - to be consistent with jpeg.c.
       - bbc4722 Breakup jpeg_decode into parsing and displaying phases.
       - 2976dd4 Avoid using BSS variables in jpeg.c.
       - cc9e1bf Add FUNC16() helper macro for converting a 16bit func to a segoff_s.
       - b4525a0 Handle unaligned sizes in iomemcpy().
       - 0e27e19 Cleanup bootsplash vesa signature detection.
       - cadaf0e Be sure to disable bootsplash on all BIOS boot cases.
       - 2641186 Add call16_int10 helper to bootsplash.c.
       - 6dc76f4 Don't do "double buffering" in bootsplash code.
       - 227dc3e Check that malloc succeeds in bootsplash code.
       - a576c9c Bootsplash fixes and cleanups.
       - 9fd4851 Minor - clarify bit logic in mptable.c.
       - abf31d3 Fix integer truncating bug in calc_future_timer().
       - 1d5c333 seabios: pciinit: fix 64bit bar initilization.
       - ae6924d Minor - introduce GDT_GRANLIMIT macro.
       - 0f78889 Avoid code addresses >64K in big real mode.
       - aec19c9 seabios: smm: move out piix4 specific smram logic to dev-i440fx.c
       - 08328e7 seabios: shadow: make device finding more generic.
       - 4c67f90 seabios: acpi: clean up of finding pm device.
       - fe54a53 seabios: acpi: split out piix4 pm logic.
       - d06afb4 seabios: acpi: move acpi definitions to acpi.h from acpi.c
       - 2f54bb4 seabios: acpi: move out endian conversion helper function.
       - 23173ac seabios: pci: introduce helper function to find device from table and initialize it.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      758c309f
  5. 23 10月, 2010 10 次提交
  6. 22 10月, 2010 8 次提交
    • A
      dbb14135
    • 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
    • K
      qemu-img: Fix qemu-img convert -obacking_file · a18953fb
      Kevin Wolf 提交于
      The old -B option caused a backing file to be used for the converted image and
      to avoid copying clusters from the old backing file. When replaced with
      -obacking_file, qemu-img convert does assign the backing file to the new image,
      but it doesn't realize that it should avoid copying clusters from the backing
      file.
      
      This patch checks the -o options for a backing_file and applies the same logic
      as for -B in this case.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a18953fb
    • S
      block: Use GCC_FMT_ATTR and fix a format error · a77cffe7
      Stefan Weil 提交于
      Adding the gcc format attribute detects a format bug
      which is fixed here.
      
      v2:
      Don't use type cast. BDRV_SECTOR_SIZE is unsigned long long,
      so %lld should be the correct format specifier.
      
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a77cffe7
    • K
      qemu-io: New command map · 191c2890
      Kevin Wolf 提交于
      The new map command in qemu-io lists all allocated/unallocated areas in an
      image file.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      191c2890
    • E
      Copy snapshots out of QCOW2 disk · 51ef6727
      edison 提交于
      In order to backup snapshots, created from QCOW2 iamge, we want to copy snapshots out of QCOW2 disk to a seperate storage.
      The following patch adds a new option in "qemu-img": qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img.
      Right now, it only supports to copy the full snapshot, delta snapshot is on the way.
      
      Changes from V1: all the comments from Kevin are addressed:
      Add read-only checking
      Fix coding style
      Change the name from bdrv_snapshot_load to bdrv_snapshot_load_tmp
      Signed-off-by: NDisheng Su <edison@cloud.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      51ef6727