hw/ac97: Make a bunch of mixer registers read only
The Linux ac97 driver tries to see if optional things like video inputvolume control are available in 2 ways:1) See if the mute bit is set after reset, if it is no further tests are done2) If the mute bit is not set it does a write/read test of the mute bit...
hw/ac97: Use AC97_Record_Gain_Mute not AC97_Line_In_Volume_Mute
After commit 19677a380a70348134ed7650b294522617eb03fc:"hw/ac97: add support for volume control"
We are (correctly) using AC97_Record_Gain_Mute and not AC97_Line_In_Volume_Mutefor recording volume, but various places in hw/ac97 were still assumimg that...
hw/ac97: Mask out unused bits of volume controls
The Linux ac97 drivers does a number of register read/write tests tosee how much resolution a volume control actually has.
This patch takes this into account by masking out any bits written toa volume control reg which should not be there according to the spec....
hw/ac97: Mask out the EAPD bit on Powerdown Ctrl/Stat writes
The Linux AC97 driver tests this bit to decide wether or not to showan External amplifier toggle control.
This patch was also tested with a Windows XP guest without any issues.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>...
hw/ac97: Fix log message in mixer_load
Fix a small copy and paste error in logging.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: malc <av1474@comtv.ru>
ATA: Allow WIN_SECURITY_FREEZE_LOCK as nop
When using Windows 8 with an AHCI disk drive, it issues a blue screen.The reason is that WIN_SECURITY_FREEZE_LOCK / CFA_WEAR_LEVEL is notsupported by our ATA implementation, but Windows expects it to be there....
Merge remote-tracking branch 'agraf/s390-for-upstream' into staging
ppce500_spin: Replace assert by hw_error (fixes compiler warning)
The default case in function spin_read should never be reached,therefore the old code used assert(0) to abort QEMU.
This does not work when QEMU is compiled with macro NDEBUG defined.In this case (and also when the compiler does not know that assert...
pseries: Use the same interrupt swizzling for host bridges as p2p bridges
Currently the pseries PCI code uses a somewhat strange scheme of PCI irqallocation - one per slot up to a maximum that's greater than the usual 4.This scheme more or less worked, because we were able to tell the guest the...
pseries: Fix use of global CPU state
Commit ed120055c7f9b26b5707d3ceabbe5a3f06aaf937 (Implement PAPR VPAfunctions for pSeries shared processor partitions) introduced thederegister_dtl() function and typo "emv" as name of its argument.This went unnoticed because the code in that function can access the...
View revisions
Also available in: Atom