Re: [PATCH] qemu: Don't try to set input FD to -1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/12/5 Eric Blake <eblake@xxxxxxxxxx>:
> On 12/04/2010 04:47 PM, Matthias Bolte wrote:
>> ---
>> Âsrc/qemu/qemu_driver.c | Â Â5 ++++-
>> Â1 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
>> index 54e9dcb..1b86b5e 100644
>> --- a/src/qemu/qemu_driver.c
>> +++ b/src/qemu/qemu_driver.c
>> @@ -4091,7 +4091,10 @@ static int qemudStartVMDaemon(virConnectPtr conn,
>>
>> Â Â ÂVIR_WARN("Executing %s", vm->def->emulator);
>> Â Â ÂvirCommandSetPreExecHook(cmd, qemudSecurityHook, &hookData);
>> - Â ÂvirCommandSetInputFD(cmd, stdin_fd);
>> +
>> + Â Âif (stdin_fd != -1)
>> + Â Â Â ÂvirCommandSetInputFD(cmd, stdin_fd);
>> +
>
> ACK
>

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]