search for: skip_dmesg

Displaying 2 results from an estimated 2 matches for "skip_dmesg".

2015 Nov 16
0
[PATCH] p2v: Send physical server 'dmesg' output to debug dir on conversion server.
...tf (stderr, "%s: libvirt XML:\n%s", guestfs_int_program_name, libvirt_xml); #endif + /* Get the output from the 'dmesg' command. We will store this + * on the remote server. + */ + fd = mkstemp (dmesg_file); + if (fd == -1) { + perror ("mkstemp"); + goto skip_dmesg; + } + close (fd); + snprintf (dmesg_cmd, sizeof dmesg_cmd, + "dmesg > %s", dmesg_file); + r = system (dmesg_cmd); + if (r == -1) { + perror ("system"); + goto skip_dmesg; + } + if (!WIFEXITED (r) || WEXITSTATUS (r) != 0) { + fprintf (stderr, "...
2016 Jun 30
4
[PATCH 0/4] p2v: Send ^C to remote end to cancel the conversion.
(I don't have a BZ# for this yet, but I'm expecting it to be filed as an RFE) Currently if the user is in the virt-p2v GUI and cancels the conversion, all that happens is we abruptly close the ssh session to virt-v2v. That is bad .. possibly (or maybe not). But in any case there is an alternative: we can send a ^C key to the virt-v2v process, which it could catch and handle gracefully,