commit | 9a3a88956c7f32130ad20011f7c3c161fa5876d8 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Sep 20 16:50:32 2012 +0200 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Wed Sep 26 12:42:19 2012 -0300 |
tree | cc67bd956555d12298fe7b1db2a1f564075bb0b9 | |
parent | 1057725f6629fc2771a294a92ce8eedb92c86fe8 [diff] |
pci-assign: use monitor_handle_fd_param 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 <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>