musicpal: Add VMState support
Register all relevant fields of Musicpal device states with the VMStateframework. This involves a few type changes of state variables.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Fix exit on 'pci_add' Monitor command
If the user issues one of the following commands to the Monitor:
pci_add pci_addr=auto nic model=Nonepci_add pci_addr=auto nic model=?
QEMU will exit, because the function used to perform sanitychecks (qemu_check_nic_model_list()) exits on error....
vmstate: Add suppot for field_exist() test
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
musicpal: Catch null TX qeueues
They likely represent invalid queues that should be skipped. We alreadydo this for RX queues. Wish I had a spec...
Credits go to malc for analyzing the issue and suggesting this fix.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>...
musicpal: Rework GPIO input events
The qdev_gpio conversion of 343ec8e caused come polarity mismatch of keyevent pins and left an overly complex solution behind. Take this chanceand refactor the GPIO input system of the Musicpal, moving it closer toreality:...
musicpal: Clean up typecasts
musicpal: Coding style fixes
musicpal: True reset support for GPIO
musicpal: True reset support for audio device
musicpal: Make PIT emulation more robust
Stop the periodic timers of the PIT on reset, disabling via the controlregister and invalid parameters.
View revisions
Also available in: Atom