qemu-e2k/hw/i386/kvm
Mao Zhongyi c0e9067902 i386/kvm/pci-assign: Use errp directly rather than local_err
In assigned_device_pci_cap_init(), first, error messages are filled
to a local_err variable, then through error_propagate() pass to
the parameter of errp. It leads to cumbersome code. In order to
avoid the extra local_err and error_propagate(), drop it and use
errp instead.

Cc: pbonzini@redhat.com
Cc: rth@twiddle.net
Cc: ehabkost@redhat.com
Cc: mst@redhat.com
Cc: armbru@redhat.com
Cc: marcel@redhat.com
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-07-03 22:29:49 +03:00
..
apic.c kvm: move cpu synchronization code 2017-01-19 22:07:46 +01:00
clock.c kvmclock: update system_time_msr address forcibly 2017-06-07 18:22:02 +02:00
i8254.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
i8259.c pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP 2016-09-13 18:12:34 +03:00
ioapic.c kvm/ioapic: correct kvm ioapic version 2017-02-16 14:06:55 +01:00
Makefile.objs
pci-assign.c i386/kvm/pci-assign: Use errp directly rather than local_err 2017-07-03 22:29:49 +03:00