Go to file
Marek Marczykowski-Górecki bdae560770 backup: fix deadlock on error while receiving backup from a VM
When qfile-dom0-unpacker detects an error, it sends error report to
stdout and terminate (so stdout is closed). That close should be
transferred to the VM process (as EOF on its stdin), which will signal
it to stop sending the data and handle error report.
Also qrexec-client holds the connection until both stdin and
stdout are closed.
So when that EOF is missing, tar2qfile will not detect error report and
still tries to send the data and qrexec-client will hold the
connection while receiving process is long dead.

To prevent that deadlock from happening, close FD in python code, so
qfile-dom0-unpacker will be the last owner of write end of the pipe.
When it closes its stdout, qrexec-client will receive EOF at its stdin.
2015-02-18 21:41:22 +01:00
core backup: fix deadlock on error while receiving backup from a VM 2015-02-18 21:41:22 +01:00
core-modules core: make vm.rootcow_img a property 2015-02-11 13:59:57 +01:00
dispvm dispvm: fix setting up DispVM based on non-default template 2015-02-11 15:02:33 +01:00
doc doc: typo fix 2015-01-30 01:40:41 +01:00
linux Ensure that qvm-shutdown is called while libvirtd is still running 2015-02-09 03:47:45 +01:00
qmemman Move dispvm+qmemman service files to relevant directories 2014-11-19 12:50:25 +01:00
qubes-rpc move qubes-notify-* to libexec 2014-11-19 12:50:25 +01:00
qubes-rpc-policy qubes-rpc-policy/qubes.GetImageRGBA.policy 2014-05-20 17:49:20 +02:00
qvm-tools Add qvm-trim-template tool 2015-01-30 01:39:59 +01:00
rpm_spec Use tmpfile.d to create /var/run subdirs 2015-02-02 04:48:42 +01:00
site-packages add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
site-packages-qmemman Convenient link for qmemman 2014-04-23 12:53:41 +02:00
tests tests: add logging 2015-02-11 16:34:35 +01:00
vm-config Explicitly enable emulated GPU 2015-02-09 06:04:31 +01:00
.gitignore .gitignore: added *.msm 2014-11-19 12:50:31 +01:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile windows: installer 2014-11-19 12:50:30 +01:00
Makefile.builder windows: installer 2014-11-19 12:50:30 +01:00
version version 3.0.0 2014-11-22 16:24:11 +01:00