[root@localhost ~]# libguestfs-test-tool
===== Test starts here =====
LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance/
TMPDIR=(not set)
library version: 1.18.7
guestfs_get_append: (null)
guestfs_get_attach_method: appliance
guestfs_get_autosync: 1
guestfs_get_direct: 0
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/local/lib/guestfs/appliance/
guestfs_get_pgroup: 0
guestfs_get_qemu: /usr/libexec/qemu-kvm
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_smp: 1
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 60 seconds.
libguestfs: [00000ms] begin testing qemu features
libguestfs: [00017ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x115f0f0 g->state = 1
[00019ms] /usr/libexec/qemu-kvm \
    -global vir! tio-blk-pci.scsi=off \
    -nodefconfig \
    -nodefaults \
    -nographic \
    -drive file=/tmp/libguestfs-test-tool-sda-tEXoNC,cache=none,format=raw,if=virtio \
    -machine accel=kvm:tcg \
    -m 500 \
    -no-reboot \
    -no-hpet \
    -device virtio-serial \
    -serial stdio \
    -device sga \
    -chardev socket,path=/tmp/libguestfsJ8W9L0/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -kernel /usr/local/lib/guestfs/appliance//kernel \
    -initrd /usr/local/lib/guestfs/appliance//initrd \
    -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbos! e=1 TERM=xterm ' \
    -drive file=/usr/loca! l/lib/guestfs/appliance//root,snapshot=on,if=virtio,cache=unsafe\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 11/03/11
SGABIOS $Id$ (pbonzini@yakj.usersys.redhat.com) Thu Nov  3 13:33:51 UTC 2011
Term: 80x24
4 0
SeaBIOS (version pre-0.6.3-20110810_173319-rincewind.home.kraxel.org)

Booting from ROM...
Probing EDD (edd=off to disable)... ok
\x1b[2J[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.5.0-0.rc3.git0.4.bz835019.fc18.x86_64 (rjones@spin.home.annexia.org) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Mon Jun 25 18:39:15 BST 2012
[    0.000000] Command line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm
[    0.000000] e820: BIOS-provided physica! l RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009b7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009b800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fcfff] usable
[    0.000000] BIOS-e820: [mem 0x000000001f3fd000-0x000000001f3fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x1f3fd max_arch_pfn = 0x400000000
[    0.000000] PAT not ! supported by CPU.
[    0.000000] found SMP MP-table a! t [mem 0x000fda70-0x000fda7f] mapped at [ffff8800000fda70]
[    0.000000] init_memory_mapping: [mem 0x00000000-0x1f3fcfff]
[    0.000000] RAMDISK: [mem 0x1f2c5000-0x1f3effff]
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fcfff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fcfff]
[    0.000000]   NODE_DATA [mem 0x1f2b1000-0x1f2c4fff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:1cf4741, boot clock
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00010000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal&n! bsp;  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00010000-0x0009afff]
[    0.000000]   node   0: [mem 0x00100000-0x1f3fcfff]
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1        
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[    0.000000] Processors: 1
[    0.000000] SMP: Allowing 1 CPUs, 0 hotpl! ug CPUs
[    0.000000] PM: Registered nosave memory: ! 000000000009b000 - 000000000009c000
[    0.000000] PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[    0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88001ee00000 s83072 r8192 d23424 u2097152
[    0.000000] kvm-clock: cpu 0, msr 0:1ee13741, primary cpu clock
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 1ee0df40
[    0.000000] Built 1 zonelists in Node o! rder, mobility grouping on.  Total pages: 125874
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm
[    0.000000] Disabling memory control group subsystem
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 485880k/511988k available (6255k kernel code, 468k absent, 25640k reserved, 6925k data, 1016k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_I! RQS:8448 nr_irqs:256 16
[    0.000000] Console: colou! r *CGA 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Detected 2593.484 MHz processor.
[    0.001999] Calibrating delay loop (skipped) preset value.. 5186.96 BogoMIPS (lpj=2593484)
[    0.003009] pid_max: default: 32768 minimum: 301
[    0.003797] Security Framework initialized
[    0.004065] SELinux:  Disabled at boot.
[    0.005163] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.007602] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.008234] Mount-cache hash table entries: 256
[    0.009442] Initializing cgroup subsys cpuacct
[    0.010018] Initializing cgroup subsys memory
[    0.011055] Initializing cgroup subsys devices
[    0.012012] Initializing cgroup subsys freezer
[&nb! sp;   0.012649] Initializing cgroup subsys net_cls
[    0.013004] Initializing cgroup subsys blkio
[    0.014005] Initializing cgroup subsys perf_event
[    0.014790] mce: CPU supports 10 MCE banks
[    0.015200] SMP alternatives: switching to UP code
[    0.105737] Freeing SMP alternatives: 24k freed
[    0.106091] ftrace: allocating 23068 entries in 91 pages
[    0.115832] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.116001] CPU0: Intel QEMU Virtual CPU version 1.0,1 stepping 03
[    0.219049] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.220980] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.221947] Brought up 1 CPUs
[    0.221980] Total of 1 processors activated (5186.96! BogoMIPS).
[    0.223505] devtmpfs: initialized
[!     0.225422] atomic64 test passed for x86-64 platform with CX8 and with SSE
[    0.226107] RTC time: 10:28:03, date: 09/26/12
[    0.227060] NET: Registered protocol family 16
[    0.228463] PCI: Using configuration type 1 for base access
[    0.230298] bio: create slab <bio-0> at 0
[    0.231138] ACPI: Interpreter disabled.
[    0.232015] vgaarb: loaded
[    0.232543] SCSI subsystem initialized
[    0.233120] usbcore: registered new interface driver usbfs
[    0.233990] usbcore: registered new interface driver hub
[    0.234770] usbcore: registered new device driver usb
[    0.235058] PCI: Probing PCI hardware
[    0.236009] PCI host bridge to bus 0000:00
[    0.236597] pci_bus 0000:00: root bus resource [io  0x0000-! 0xffff]
[    0.236990] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[    0.241196] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.241989] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.258164] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.259423] NetLabel: Initializing
[    0.259986] NetLabel:  domain hash size = 128
[    0.260620] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.261029] NetLabel:  unlabeled traffic allowed by default
[    0.262067] Switching to clocksource kvm-clock
[    0.270448] pnp: PnP ACPI: disabled
[    0.273082] NET: Registered protocol family 2
[    0.273785] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[&nbs! p;   0.274960] TCP established hash table entries: 16384 (ord! er: 6, 262144 bytes)
[    0.276554] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.277850] TCP: Hash tables configured (established 16384 bind 16384)
[    0.279108] TCP: reno registered
[    0.279587] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.280451] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.281497] NET: Registered protocol family 1
[    0.282205] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.283132] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.283974] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.285397] Unpacking initramfs...
[    0.288787] Freeing initrd memory: 1196k freed
[    0.290479] platform rtc_cmos: registered platform RTC device (no PNP device found)
[!     0.291987] Initialise module verification
[    0.292678] audit: initializing netlink socket (disabled)
[    0.293450] type=2000 audit(1348655284.292:1): initialized
[    0.311804] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.314175] VFS: Disk quotas dquot_6.5.2
[    0.314827] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.316110] msgmni has been set to 951
[    0.316715] Key type crypto registered
[    0.317256] Crypto key parser 'pgp' registered
[    0.318202] alg: No test for stdrng (krng)
[    0.318801] NET: Registered protocol family 38
[    0.319483] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.320537] io scheduler noop registered
[    0.321135] io schedu! ler deadline registered
[    0.321870] io scheduler c! fq registered (default)
[    0.322856] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.323700] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.324617] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.325830] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34
[    0.327109] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35
[    0.328410] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 35
[    0.329671] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.352762] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.438538] Non-volatile memory driver v1.3
[    0.439209] Linux agpgart interface v0.103
[    0.440462] loop: module loaded
[    0.44! 1668] scsi0 : ata_piix
[    0.442482] scsi1 : ata_piix
[    0.443084] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14
[    0.444098] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15
[    0.445486] Fixed MDIO Bus: probed
[    0.446074] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.447062] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.447955] uhci_hcd: USB Universal Host Controller Interface driver
[    0.449394] usbcore: registered new interface driver usbserial
[    0.450342] usbcore: registered new interface driver usbserial_generic
[    0.451396] USB Serial support registered for generic
[    0.452188] usbserial: USB Serial Driver core
[    0.452879] i8042: PNP: No PS/2 controller found. Probing po! rts directly.
[    0.455084] serio: i8042 KBD port at! 0x60,0x64 irq 1
[    0.455851] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.456735] mousedev: PS/2 mouse device common for all mice
[    0.457886] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.462846] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.463897] rtc0: alarms up to one day, 114 bytes nvram
[    0.464819] device-mapper: uevent: version 1.0.3
[    0.465678] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    0.467501] cpuidle: using governor ladder
[    0.468168] cpuidle: using governor menu
[    0.468911] EFI Variables Facility v0.08 2004-May-17
[    0.469902] usbcore: registered new interface driver usbhid
[    0.470833] usbhid: USB HID core driver
[&n! bsp;   0.471480] drop_monitor: Initializing network drop monitor service
[    0.472544] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.473707] TCP: cubic registered
[    0.474337] Initializing XFRM netlink socket
[    0.475110] NET: Registered protocol family 10
[    0.475930] mip6: Mobile IPv6
[    0.476429] NET: Registered protocol family 17
[    0.477103] Key type dns_resolver registered
[    0.477871] Load module verification keys
[    0.478524] Loaded modsign.0 key: 58e41855e6c53d536290f6bc3e9b824470580478
[    0.479527] registered taskstats version 1
[    0.480409]   Magic number: 12:956:477
[    0.481193] rtc_cmos rtc_cmos: setting system clock to 2012-09-26 10:28:04 UTC (1348655284)
[    0.603251] Freeing unused! kernel memory: 1016k freed
[    0.605842] Write prot! ecting the kernel read-only data: 12288k
[    0.616280] Freeing unused kernel memory: 1924k freed
[    0.622342] Freeing unused kernel memory: 1456k freed
febootstrap: mounting /proc
febootstrap: uptime: 0.62 0.22
febootstrap: ext2 mini initrd starting up: 3.18 zlib
febootstrap: cmdline: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm
febootstrap: mounting /sys
febootstrap: internal insmod libcrc32c.ko
febootstrap: internal insmod crc32c-intel.ko
insmod: init_module: crc32c-intel.ko: No such device
febootstrap: internal insmod crc-itu-t.ko
febootstrap: internal insmod crc-ccitt.ko
febootstrap: internal insmod crc8.ko
febootstrap: internal insmod scsi_transport_spi.ko
febootstrap: internal insmod sym53c8xx.ko
febootstrap: internal insmod rfkill.ko
febootstrap: internal insmod sparse-keymap.ko
febootstrap! : internal insmod ideapad-laptop.ko
insmod: init_module: ideapad-laptop.ko: No such device
febootstrap: internal insmod virtio_mmio.ko
febootstrap: internal insmod virtio_balloon.ko
febootstrap: internal insmod virtio-rng.ko
febootstrap: internal insmod virtio_blk.ko
[    0.675053]  vda: unknown partition table
[    0.895612] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1
Alarm clock
[root@localhost ~]#


At 2012-09-26 18:14:59,"Richard W.M. Jones" <rjones@redhat.com> wrote: >And also send all replies to the mailing list. > >Rich. > >--  >Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones >virt-p2v converts physical machines to virtual machines.  Boot with a >live CD or over the network (PXE) and turn machines into Xen guests. >http://et.redhat.com/~rjones/virt-p2v