1. 08 5月, 2012 3 次提交
    • A
      Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging · 233ffa16
      Anthony Liguori 提交于
      * riku/linux-user-for-upstream:
        linux-user: fix emulation of /proc/self/maps
        linux-user: Clean up interim solution for exit syscall
      233ffa16
    • A
      Merge remote-tracking branch 'spice/spice.v54' into staging · acde8376
      Anthony Liguori 提交于
      * spice/spice.v54:
        qxl: don't assert on guest create_guest_primary
        qxl: ioport_write: remove guest trigerrable abort
        qxl: qxl_add_memslot: remove guest trigerrable panics
        qxl: interface_notify_update: remove guest trigerrable abort
        qxl: cleanup s/__FUNCTION__/__func__/
        qxl: don't abort on guest trigerrable ring indices mismatch
        qxl: fix > 80 chars line
        qxl: replace panic with guest bug in qxl_track_command
        qxl: check for NULL return from qxl_phys2virt
        hw/qxl.c: qxl_phys2virt: replace panics with guest_bug
        spice_info: add mouse_mode
        spice: require spice-protocol >= 0.8.1
      acde8376
    • A
      Merge remote-tracking branch 'sweil/fixes' into staging · 4b5463bf
      Anthony Liguori 提交于
      * sweil/fixes:
        qemu-timer: Fix limits for w32 mmtimer
        qom: Fix memory leak in function container_get
        hw/pc_sysfw: Fix memory leak
        qdev: Fix memory leak in function set_pci_devfn
        arm-semi: Rename SYS_XXX macros to TARGET_SYS_XXX (fixes compiler warning)
        target-mips: Remove unused inline function
      4b5463bf
  2. 07 5月, 2012 5 次提交
    • H
      hw/ac97: Mask out the EAPD bit on Powerdown Ctrl/Stat writes · 847c25d0
      Hans de Goede 提交于
      The Linux AC97 driver tests this bit to decide wether or not to show
      an External amplifier toggle control.
      
      This patch was also tested with a Windows XP guest without any issues.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      847c25d0
    • H
      hw/ac97: Mask out unused bits of volume controls · 7873bfb8
      Hans de Goede 提交于
      The Linux ac97 drivers does a number of register read/write tests to
      see how much resolution a volume control actually has.
      
      This patch takes this into account by masking out any bits written to
      a volume control reg which should not be there according to the spec.
      
      After this the Linux ac97 driver correctly uses a range of 0 - 0x1f for
      the PCM out volume, as stated in the spec, and we can fix the FIXME
      in update_combined_volume_out().
      
      This patch was also tested with a Windows XP guest without any issues.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      7873bfb8
    • H
      hw/ac97: Use AC97_Record_Gain_Mute not AC97_Line_In_Volume_Mute · f94e9b9b
      Hans de Goede 提交于
      After commit 19677a38:
      "hw/ac97: add support for volume control"
      
      We are (correctly) using AC97_Record_Gain_Mute and not AC97_Line_In_Volume_Mute
      for recording volume, but various places in hw/ac97 were still assumimg that
      we are using AC97_Line_In_Volume_Mute for record volume control, this patch
      fixes this.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      f94e9b9b
    • H
      hw/ac97: Make a bunch of mixer registers read only · d044be37
      Hans de Goede 提交于
      The Linux ac97 driver tries to see if optional things like video input
      volume control are available in 2 ways:
      1) See if the mute bit is set after reset, if it is no further tests are done
      2) If the mute bit is not set it does a write/read test of the mute bit
      
      This patch changes our ac97 to conform to what the Linux driver expects, it
      initializes registers for things which we don't emulate to 0 (so the mute bit
      is not set) and makes them read only.
      
      This causes Linux to now longer show the following (functionless)
      controls in alsamixer:
      
      Master Mono vol + mute
      3d Control toggle
      PCM out pre / post 3d select
      Surround toggle
      CD vol + mute
      Mic vol + mute
      Mic boost toggle
      Mic mic1 / mic2 select
      Video vol + mute
      Phone vol + mute
      Beep mono vol + mute
      Aux vol + mute
      Mono "output mic" / "mix" select
      Sigmatel 4 speaker stereo toggle
      Sigmatel ADC 6Db att toggle
      Sigmatel DAC 6Db att toggle
      
      This patch was also tested with a Windows XP guest and there it also makes
      a number of functionless mixer controls go away.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      d044be37
    • H
      hw/ac97: Fix log message in mixer_load · a4e652eb
      Hans de Goede 提交于
      Fix a small copy and paste error in logging.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      a4e652eb
  3. 04 5月, 2012 1 次提交
  4. 03 5月, 2012 31 次提交