[Qemu-devel] [PULL 09/57] Add wrapper for setting blocking status on a QEMUFile

2015-11-10 Thread Juan Quintela
From: "Dr. David Alan Gilbert" Add a wrapper to change the blocking status on a QEMUFile rather than having to use qemu_set_block(qemu_get_fd(f)); it seems best to avoid exposing the fd since not all QEMUFile's really have one. With this wrapper we could move the implementation down to be differ

[Qemu-devel] [PULL 09/57] Add wrapper for setting blocking status on a QEMUFile

2015-11-09 Thread Juan Quintela
From: "Dr. David Alan Gilbert" Add a wrapper to change the blocking status on a QEMUFile rather than having to use qemu_set_block(qemu_get_fd(f)); it seems best to avoid exposing the fd since not all QEMUFile's really have one. With this wrapper we could move the implementation down to be differ