qemu/hw/i386/kvm
Markus Armbruster 1677f4c66c monitor: Clean up around monitor_handle_fd_param()
monitor_handle_fd_param() is a wrapper around
monitor_handle_fd_param2() that feeds errors to qerror_report_err()
instead of returning them.  qerror_report_err() is inappropriate in
many contexts.  monitor_handle_fd_param() looks simpler than
monitor_handle_fd_param2(), which tempts use.  Remove the temptation:
drop the wrapper and open-code the (trivial) error handling instead.

Replace the open-coded qerror_report_err() by error_report_err() in
places that already use error_report().  Turns out that's everywhere.

While there, rename monitor_handle_fd_param2() to monitor_fd_param().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-02-18 10:51:28 +01:00
..
apic.c kvm/apic: fix 2.2->2.1 migration 2014-12-15 12:21:02 +01:00
clock.c valgrind/i386: avoid false positives on KVM_SET_CLOCK ioctl 2014-12-15 12:21:01 +01:00
i8254.c valgrind/i386: avoid false positives on KVM_SET_PIT ioctl 2014-12-15 12:21:01 +01:00
i8259.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ioapic.c ioapic: QOM'ify ioapic 2013-12-24 18:02:18 +01:00
Makefile.objs
pci-assign.c monitor: Clean up around monitor_handle_fd_param() 2015-02-18 10:51:28 +01:00