Re: [Qemu-devel] [PATCH 1/3] pci-assign: use monitor_handle_fd_param

2012-09-26 Thread Markus Armbruster
Markus Armbruster writes: > Luiz Capitulino writes: > >> From: Paolo Bonzini >> >> There is no need to open-code the choice between a file descriptor >> number or a named one. Just use monitor_handle_fd_param, which >> also takes care of printing the error message. >> >> Signed-off-by: Paolo B

[Qemu-devel] [PATCH 1/3] pci-assign: use monitor_handle_fd_param

2012-09-25 Thread Luiz Capitulino
From: Paolo Bonzini There is no need to open-code the choice between a file descriptor number or a named one. Just use monitor_handle_fd_param, which also takes care of printing the error message. Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino --- hw/kvm/pci-assign.c | 12 +++---

Re: [Qemu-devel] [PATCH 1/3] pci-assign: use monitor_handle_fd_param

2012-09-25 Thread Markus Armbruster
Luiz Capitulino writes: > From: Paolo Bonzini > > There is no need to open-code the choice between a file descriptor > number or a named one. Just use monitor_handle_fd_param, which > also takes care of printing the error message. > > Signed-off-by: Paolo Bonzini > Signed-off-by: Luiz Capituli

[Qemu-devel] [PATCH 1/3] pci-assign: use monitor_handle_fd_param

2012-09-24 Thread Luiz Capitulino
From: Paolo Bonzini There is no need to open-code the choice between a file descriptor number or a named one. Just use monitor_handle_fd_param, which also takes care of printing the error message. Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino --- hw/kvm/pci-assign.c | 12 +++---

[Qemu-devel] [PATCH 1/3] pci-assign: use monitor_handle_fd_param

2012-09-20 Thread Luiz Capitulino
From: Paolo Bonzini There is no need to open-code the choice between a file descriptor number or a named one. Just use monitor_handle_fd_param, which also takes care of printing the error message. Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino --- hw/kvm/pci-assign.c | 12 +++---