search for: guestfs_verbose

Displaying 20 results from an estimated 151 matches for "guestfs_verbose".

2016 Mar 22
1
[PATCH] appliance: use bash features for string matching in files
...r udevadm settle --timeout=600 -if grep -sq selinux=1 /proc/cmdline; then +cmdline=$(</proc/cmdline) + +if [[ $cmdline == *selinux=1* ]]; then mount -t selinuxfs none /sys/fs/selinux fi @@ -91,16 +93,16 @@ shopt -u nullglob hwclock -u -s # Parse the kernel command line. -if grep -sq guestfs_verbose=1 /proc/cmdline; then +if [[ $cmdline == *guestfs_verbose=1* ]]; then guestfs_verbose=1 fi -if grep -sq guestfs_network=1 /proc/cmdline; then +if [[ $cmdline == *guestfs_network=1* ]]; then guestfs_network=1 fi -if grep -sq guestfs_rescue=1 /proc/cmdline; then +if [[ $cmdline == *guestf...
2015 Jun 24
2
Re: [PATCH 3/7] daemon: Add --cmdline option for testing.
...allows the Linux kernel command line to be specified on the > program command line. What if, instead, we remove the direct /proc/cmdline reading from the daemon, making the init read the options from it passing them as options to the daemon? After all, the options read from it so far are: (a) guestfs_verbose (b) guestfs_network (c) guestfs_channel (a) is covered already by -v, and a direct (c) could be useful to ease this patch series (seen in patch 6). -- Pino Toscano
2011 Jul 21
2
Libguestfs hangs after issuing a launch command
...nel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-1000/kernel.30876 \ -initrd /var/tmp/.guestfs-1000/initrd.30876 \ -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ -drive file=/var/tmp/.guestfs-1000/root.30876,snapshot=on,if=virtio,cache=unsafe open /dev/kvm: No such file or directory Could not initialize KVM, will disable KVM support [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0...
2016 Mar 17
0
[PATCH 1/3] appliance: Pass "quiet" option to kernel when !verbose.
..."%s%s" /* handle identifier */ @@ -362,7 +362,7 @@ guestfs_int_appliance_command_line (guestfs_h *g, const char *appliance_dev, lpj_s, root, g->selinux ? "selinux=1 enforcing=0" : "selinux=0", - g->verbose ? " guestfs_verbose=1" : "", + g->verbose ? "guestfs_verbose=1" : "quiet", g->enable_network ? " guestfs_network=1" : "", term ? term : "linux", STRNEQ (g->identifier, "") ? " guestfs_identifier=" : &quo...
2016 Mar 22
0
[PATCH v3 02/11] appliance: Move /proc/cmdline checks earlier.
...in /sys/block/sd*/device/timeout; do echo 300 > $f; done -# https://access.redhat.com/site/solutions/5427 -for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done -shopt -u nullglob - -# Update the system clock. -hwclock -u -s - # Parse the kernel command line. if grep -sq guestfs_verbose=1 /proc/cmdline; then guestfs_verbose=1 @@ -106,6 +91,21 @@ if grep -sq guestfs_noreboot=1 /proc/cmdline; then fi eval `grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline` +if grep -sq selinux=1 /proc/cmdline; then + mount -t selinuxfs none /sys/fs/selinux +fi + +# Disk optimi...
2009 Sep 22
1
[PATCH] Change handling of spaces on Linux kernel command line
.../* (append) */ - g->selinux ? "selinux=1 enforcing=0 " : "selinux=0 ", + g->selinux ? "selinux=1 enforcing=0" : "selinux=0", vmchannel ? vmchannel : "", - g->verbose ? "guestfs_verbose=1 " : "", + g->verbose ? "guestfs_verbose=1" : "", g->append ? g->append : ""); add_cmdline (g, "-kernel"); -- 1.6.2.5
2016 Mar 23
1
Re: [PATCH v3 02/11] appliance: Move /proc/cmdline checks earlier.
...> $f; done > -# https://access.redhat.com/site/solutions/5427 > -for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done > -shopt -u nullglob > - > -# Update the system clock. > -hwclock -u -s > - > # Parse the kernel command line. > if grep -sq guestfs_verbose=1 /proc/cmdline; then > guestfs_verbose=1 > @@ -106,6 +91,21 @@ if grep -sq guestfs_noreboot=1 /proc/cmdline; then > fi > eval `grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline` > > +if grep -sq selinux=1 /proc/cmdline; then > + mount -t selinuxfs none /...
2014 Feb 12
3
Debugging nested KVM guest (L2) booting with libguestfs/gdb
...e/tuser1/src/libguestfs/tmp/libguestfspCGc1F/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check lpj=2294686 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen' Let's try with TCG ------------------ $ guestfish get_backend direct $ export LIBGUESTFS_BACKEND_SETTINGS=force_tcg $ guestfish get_backend_settings force_tcg Run the appliance: $ ./run libguestfs-test-tool Again, `qemu-kvm` CLI just hung just li...
2014 Jun 11
2
Re: libguestfs supermin error
...ev socket,path=/tmp/libguestfskHPB9d/guestfsd.sock,id=channel0 \ > -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ > -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off > printk.time=1 cgroup_disable=memory root=/dev/sda selinux=0 > guestfs_verbose=1 TERM=xterm' > Using QEMU e500 machine description > MMU: Supported page sizes > 4 KB as direct > 1024 KB as direct > 2048 KB as direct > 4096 KB as direct > 16384 KB as direct > 65536 KB as direct > 262144 KB as direct >...
2014 Jun 10
2
Re: libguestfs supermin error
Hi Rich I'm able to solve the problem regarding PAPR in libguestfs on my powerpc ubuntu.By default the libguestfs was configuring pseries machine and afterwards I changed it to my original machine i.e ppce500 .The changes are performed in ./src/guestfs-internal.h file. Thanks On Tue, Jun 10, 2014 at 7:58 PM, Richard W.M. Jones <rjones@redhat.com> wrote: > On Wed, Jun 04, 2014 at
2013 May 31
3
Re: How to use libguestfs access LVM as non-root user?
...-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-501/kernel.30285 \ -initrd /var/tmp/.guestfs-501/initrd.30285 \ -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=screen-bce ' \ -drive file=/var/tmp/.guestfs-501/root.30285,snapshot=on,if=virtio,cache=unsafeqemu-kvm: -drive file=/dev/xenvg/123,cache=off,format=qcow2,if=virtio: could not open disk image /dev/xenvg/123: Invalid argument libguestfs: child_cleanup: 0x26a8250: child process died lib...
2014 Jan 15
4
Double fault panic in L2 upon v2v conversion
...ice virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net=169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 02/18/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Feb 18 08:29:02 UTC 2013 Term: 80x24 4 0 SeaBIOS (version ?-20131118_112708-) iPXE (http://ipxe.org) 00:04.0 C100 PCI2.10 PnP PMM...
2016 Mar 17
5
[PATCH 0/3] appliance: Pass "quiet" option to kernel when !verbose.
Using the quiet option (when not in verbose mode) improves boot speeds by rather a lot, by avoiding sending messages over the slow emulated UART. Rich.
2009 Sep 21
2
[PATCH 00/10] Remove the need for vmchannel
This set of 10 patches removes the need for any vmchannel implementation, although we can still choose to use vmchannel if we want. In this so-called "null vmchannel" configuration, the appliance connects directly to a port on the library. The exact method is described in patch 9/10. This method still requires SLIRP (user mode networking) so it is not a panacea, because recent
2020 Sep 03
3
Error while loading shared libraries: libsbz.so
Hi, I have a KVM host running ubuntu 18.04 with libguestfs-tools version 1.36.13-1ubuntu3.3 installed from the Ubuntu's repo and when I try to use virt-cat for example on a VM it fails with: libguestfs: error: appliance closed the connection unexpectedly. > libguestfs: error: guestfs_launch failed. After doing "export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1" and running the
2017 Dec 11
3
Libguestfs Hangs on CentOS 7.4
...l>\n <initrd>/var/tmp/.guestfs-0/appliance.d/initrd</initrd>\n <cmdline>panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=vt220</cmdline>\n <bios useserial="yes"/>\n </os>\n <on_reboot>destroy</on_reboot>\n <devices>\n <rng model="virtio">\n <backend model="random">/dev/urandom</backend>\n </rng>\n <con...
2012 Sep 26
4
guestfish hang when exec command.
Hi, I have some issues with libguestfs. I download the libguestfs-0.18.3 source code and read the README file. it requested qemu >= 0.13, my qemu version is qemu-1.0.1 requested kernel version >= 2.6.34, my kernel version is 3.1.4 the most of requirement for compiling I reached. but I completed compiltion and executed command. the guestfish hang there. the following was my operating steps:
2020 Sep 03
0
Re: Error while loading shared libraries: libsbz.so
...device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ > -append 'panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color' > libguestfs: responding to serial console Device Status Report > \x1b[1;256r\x1b[256;256H\x1b[6n > Google, Inc. > Serial Graphics Adapter 03/05/17 > SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (generic@generic) Sun, 05 Mar 2017 16:09:17 +0100 &...
2020 Sep 03
1
Re: Error while loading shared libraries: libsbz.so
...t,chardev=channel0,name=org.libguestfs.channel.0 \ > > -append 'panic=1 console=ttyS0 edd=off udevtimeout=6000 > udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory > usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb > selinux=0 guestfs_verbose=1 TERM=xterm-256color' > > libguestfs: responding to serial console Device Status Report > > \x1b[1;256r\x1b[256;256H\x1b[6n > > Google, Inc. > > Serial Graphics Adapter 03/05/17 > > SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (generic@generic) > Sun...
2014 Jan 23
3
Re: Errors Running on Ubuntu 13.10
...me=org.libguestfs.channel.0 \ >> -kernel /var/tmp/.guestfs-0/kernel.2492 \ >> -initrd /var/tmp/.guestfs-0/initrd.2492 \ >> -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off >> printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 >> guestfs_verbose=1 TERM=xterm'\x1b[1;256r\x1b[256;256H\x1b[6n >> Google, Inc. >> Serial Graphics Adapter 06/09/13 >> SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (buildd@allspice) >> Sun Jun 9 17:23:53 UTC 2013 >> Term: 80x24 >> 4 0 >> SeaBIOS (version 1.7.3...