[kashyap@moon kvm]$ ./lkvm sandbox --balloon -k ../../arch/x86/boot/bzImage -- ls PPrroobbiinngg EEDDDD ((eedddd==ooffff ttoo ddiissaabbllee))...... ookk Decompressing Linux... Parsing ELF... done. Booting the kernel. [ 0.000000] Linux version 3.0.0-rc5-reacher-01079-g1cf7f48 (kashyap@moon.lab.eng.pnq.redhat.com) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) #21 SMP PREEMPT Tue Jan 10 12:48:21 IST 2012 [ 0.000000] Command line: noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 earlyprintk=serial i8042.noaux=1 root=/dev/root rw rootflags=rw,trans=virtio,version=9p2000.L rootfstype=9p init=/virt/init ip=dhcp [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 00000000000fffff (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000001c000000 (usable) [ 0.000000] bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x1c000 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106 [ 0.000000] CPU MTRRs all blank - virtualized system. [ 0.000000] found SMP MP-table at [ffff8800000f03a0] f03a0 [ 0.000000] init_memory_mapping: 0000000000000000-000000001c000000 [ 0.000000] ACPI Error: A valid RSDP was not found (20110413/tbxfroot-219) [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 0:1c98a01, boot clock [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal empty [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0001c000 [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.000000] Intel MultiProcessor Specification v1.4 [ 0.000000] MPTABLE: OEM ID: KVMCPU00 [ 0.000000] MPTABLE: Product ID: 0.1 [ 0.000000] MPTABLE: APIC at: 0xFEE00000 [ 0.000000] Processor #0 (Bootup-CPU) [ 0.000000] Processor #1 [ 0.000000] Processor #2 [ 0.000000] Processor #3 [ 0.000000] IOAPIC[0]: apic_id 5, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] Processors: 4 [ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 00000000000ff000 [ 0.000000] PM: Registered nosave memory: 00000000000ff000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 1c000000 (gap: 1c000000:e4000000) [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 23 pages/cpu @ffff88001bc00000 s71232 r0 d22976 u524288 [ 0.000000] kvm-clock: cpu 0, msr 0:1bc10a01, primary cpu clock [ 0.000000] KVM setup async PF for cpu 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113002 [ 0.000000] Kernel command line: noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 earlyprintk=serial i8042.noaux=1 root=/dev/root rw rootflags=rw,trans=virtio,version=9p2000.L rootfstype=9p init=/virt/init ip=dhcp [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.000000] xsave/xrstor: enabled xstate_bv 0x3, cntxt size 0x240 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 434592k/458752k available (6271k kernel code, 452k absent, 23708k reserved, 6555k data, 512k init) [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:33024 nr_irqs:712 16 [ 0.000000] Console: colour *CGA 80x25 [ 0.000000] console [ttyS0] enabled, bootconsole disabled [ 0.000000] console [ttyS0] enabled, bootconsole disabled [ 0.000000] Detected 1994.999 MHz processor. [ 0.001999] Calibrating delay loop (skipped) preset value.. 3989.99 BogoMIPS (lpj=1994999) [ 0.004006] pid_max: default: 32768 minimum: 301 [ 0.005056] Security Framework initialized [ 0.006040] Mount-cache hash table entries: 256 [ 0.008422] mce: CPU supports 32 MCE banks [ 0.013222] CPU0: Intel 06/17 stepping 0a [ 0.116067] Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only. [ 0.134004] Booting Node 0, Processors #1 [ 0.001999] kvm-clock: cpu 1, msr 0:1bc90a01, secondary cpu clock [ 0.151056] KVM setup async PF for cpu 1 [ 0.155041] #2 [ 0.167988] kvm-clock: cpu 2, msr 0:1bd10a01, secondary cpu clock [ 0.168016] KVM setup async PF for cpu 2 [ 0.172028] #3 Ok. [ 0.184985] kvm-clock: cpu 3, msr 0:1bd90a01, secondary cpu clock [ 0.185999] Brought up 4 CPUs [ 0.186003] Total of 4 processors activated (15959.99 BogoMIPS). [ 0.185997] KVM setup async PF for cpu 3 [ 0.195067] x86 PAT enabled: cpu 3, old 0x0, new 0x7010600070106 [ 0.195979] x86 PAT enabled: cpu 0, old 0x70106, new 0x7010600070106 [ 0.198045] devtmpfs: initialized [ 0.201168] Time: 17:43:50 Date: 01/11/12 [ 0.201803] NET: Registered protocol family 16 [ 0.204147] PCI: Using configuration type 1 for base access [ 0.264153] bio: create slab at 0 [ 0.265994] ACPI: Interpreter disabled. [ 0.267082] vgaarb: loaded [ 0.268061] SCSI subsystem initialized [ 0.269152] usbcore: registered new interface driver usbfs [ 0.270136] usbcore: registered new interface driver hub [ 0.271126] usbcore: registered new device driver usb [ 0.274006] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.275112] PCI: Probing PCI hardware [ 0.280282] Bluetooth: Core ver 2.16 [ 0.281116] NET: Registered protocol family 31 [ 0.281969] Bluetooth: HCI device and connection manager initialized [ 0.282987] Bluetooth: HCI socket layer initialized [ 0.283681] Bluetooth: L2CAP socket layer initialized [ 0.284064] Bluetooth: SCO socket layer initialized [ 0.285145] cfg80211: Calling CRDA to update world regulatory domain [ 0.287055] NetLabel: Initializing [ 0.287540] NetLabel: domain hash size = 128 [ 0.287968] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.288673] NetLabel: unlabeled traffic allowed by default [ 0.288977] Switching to clocksource kvm-clock [ 0.294094] FS-Cache: Loaded [ 0.294473] Switched to NOHz mode on CPU #2 [ 0.294216] Switched to NOHz mode on CPU #1 [ 0.294272] Switched to NOHz mode on CPU #3 [ 0.296340] Switched to NOHz mode on CPU #0 [ 0.297116] pnp: PnP ACPI: disabled [ 0.311562] NET: Registered protocol family 2 [ 0.312331] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.313701] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.314834] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.315870] TCP: Hash tables configured (established 16384 bind 16384) [ 0.316814] TCP reno registered [ 0.317426] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.318261] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.319240] NET: Registered protocol family 1 [ 0.320074] RPC: Registered named UNIX socket transport module. [ 0.320885] RPC: Registered udp transport module. [ 0.321555] RPC: Registered tcp transport module. [ 0.322221] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.323296] kvm: no hardware support [ 0.324073] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.328608] Machine check injector initialized [ 0.331242] microcode: CPU0 sig=0x1067a, pf=0x1, revision=0x0 [ 0.332057] microcode: CPU1 sig=0x1067a, pf=0x1, revision=0x0 [ 0.334095] microcode: CPU2 sig=0x1067a, pf=0x1, revision=0x0 [ 0.334869] microcode: CPU3 sig=0x1067a, pf=0x1, revision=0x0 [ 0.335850] microcode: Microcode Update Driver: v2.00 , Peter Oruba [ 0.340670] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.359190] VFS: Disk quotas dquot_6.5.2 [ 0.359929] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.363778] FS-Cache: Netfs 'cifs' registered for caching [ 0.365042] NTFS driver 2.1.30 [Flags: R/W]. [ 0.366220] fuse init (API version 7.16) [ 0.367470] Installing v9fs 9p2000 file system support [ 0.368413] msgmni has been set to 848 [ 0.371569] NET: Registered protocol family 38 [ 0.372582] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.373626] io scheduler noop registered [ 0.374206] io scheduler deadline registered [ 0.374965] io scheduler cfq registered (default) [ 0.376420] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.378747] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003) [ 0.380086] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003) [ 0.381351] virtio-pci 0000:00:03.0: enabling device (0000 -> 0003) [ 0.382602] virtio-pci 0000:00:04.0: enabling device (0000 -> 0003) [ 0.385619] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled ÿ[ 0.652203] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a U6_16550A ÿ[ 0.929193] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a U6_16550A ÿ[ 1.206197] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a U6_16550A [ 1.233427] Non-volatile memory driver v1.3 [ 1.234276] Linux agpgart interface v0.103 [ 1.235194] [drm] Initialized drm 1.1.0 20060810 [ 1.236105] [drm] radeon defaulting to kernel modesetting. [ 1.236867] [drm] radeon kernel modesetting enabled. [ 1.243818] brd: module loaded [ 1.247967] loop: module loaded [ 1.248634] kgdb: Registered I/O driver kgdbts. [ 1.249674] kgdbts:RUN plant and detach test [ 1.256299] kgdbts:RUN sw breakpoint test [ 1.258436] kgdbts:RUN bad memory access test [ 1.264325] kgdbts:RUN singlestep test 1000 iterations [ 1.268488] kgdbts:RUN singlestep [0/1000] [ 1.363252] kgdbts:RUN singlestep [100/1000] [ 1.407789] kgdbts:RUN singlestep [200/1000] [ 1.464868] kgdbts:RUN singlestep [300/1000] [ 1.496364] kgdbts:RUN singlestep [400/1000] [ 1.558901] kgdbts:RUN singlestep [500/1000] [ 1.606758] kgdbts:RUN singlestep [600/1000] [ 1.673048] kgdbts:RUN singlestep [700/1000] [ 1.722075] kgdbts:RUN singlestep [800/1000] [ 1.774484] kgdbts:RUN singlestep [900/1000] [ 1.865972] kgdbts:RUN hw breakpoint test [ 1.869433] kgdbts:RUN hw write breakpoint test [ 1.872739] kgdbts:RUN access write breakpoint test [ 1.876272] kgdbts:RUN do_fork for 100 breakpoints [ 1.883545] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 1.884673] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 1.888467] e1000e: Intel(R) PRO/1000 Network Driver - 1.3.10-k2 [ 1.889388] e1000e: Copyright(c) 1999 - 2011 Intel Corporation. [ 1.894460] Intel(R) Gigabit Ethernet Network Driver - version 3.0.6-k2 [ 1.895465] Copyright (c) 2007-2011 Intel Corporation. [ 1.899447] Intel(R) Virtual Function Network Driver - version 1.0.8-k0 [ 1.900451] Copyright (c) 2009 - 2010 Intel Corporation. [ 1.901594] tun: Universal TUN/TAP device driver, 1.6 [ 1.902392] tun: (C) 1999-2004 Max Krasnyansky [ 1.903718] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d [ 1.904829] iwlagn: Copyright(c) 2003-2011 Intel Corporation [ 1.909450] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree: [ 1.910498] iwl4965: Copyright(c) 2003-2011 Intel Corporation [ 1.911699] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s [ 1.913044] iwl3945: Copyright(c) 2003-2011 Intel Corporation [ 1.914267] console [netcon0] enabled [ 1.914808] netconsole: network logging started [ 1.927980] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.931204] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.934433] uhci_hcd: USB Universal Host Controller Interface driver [ 1.953697] usbcore: registered new interface driver cdc_wdm [ 1.954852] Initializing USB Mass Storage driver... [ 1.956318] usbcore: registered new interface driver usb-storage [ 1.957498] USB Mass Storage support registered. [ 1.959771] usbcore: registered new interface driver libusual [ 1.961044] i8042: PNP detection disabled [ 1.962504] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.964592] mousedev: PS/2 mouse device common for all mice [ 1.966750] input: AT Raw Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 1.978738] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 1.979778] rtc_cmos rtc_cmos: only 24-hr supported [ 2.009115] i2c /dev entries driver [ 2.012254] Linux video capture interface: v2.00 [ 2.016156] Bluetooth: Virtual HCI driver ver 1.3 [ 2.020248] Bluetooth: HCI UART driver ver 2.2 [ 2.020873] Bluetooth: HCI H4 protocol initialized [ 2.021590] Bluetooth: HCI BCSP protocol initialized [ 2.022321] Bluetooth: HCILL protocol initialized [ 2.022970] Bluetooth: HCIATH3K protocol initialized [ 2.023704] Bluetooth: Generic Bluetooth USB driver ver 0.6 [ 2.030535] usbcore: registered new interface driver btusb [ 2.031324] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 2.032471] Bluetooth: Atheros AR30xx firmware driver ver 1.0 [ 2.037495] usbcore: registered new interface driver ath3k [ 2.038290] cpuidle: using governor ladder [ 2.038864] cpuidle: using governor menu [ 2.039794] sdhci: Secure Digital Host Controller Interface driver [ 2.040680] sdhci: Copyright(c) Pierre Ossman [ 2.042070] EFI Variables Facility v0.08 2004-May-17 [ 2.062543] usbcore: registered new interface driver usbhid [ 2.063431] usbhid: USB HID core driver [ 2.072494] ALSA device list: [ 2.072931] No soundcards found. [ 2.073558] Netfilter messages via NETLINK v0.30. [ 2.074304] nf_conntrack version 0.5.0 (3395 buckets, 13580 max) [ 2.076161] ctnetlink v0.93: registering with nfnetlink. [ 2.077627] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.078492] TCP cubic registered [ 2.078975] Initializing XFRM netlink socket [ 2.079641] NET: Registered protocol family 17 [ 2.080328] NET: Registered protocol family 15 [ 2.081037] Bridge firewalling registered [ 2.087474] Bluetooth: RFCOMM TTY layer initialized [ 2.088258] Bluetooth: RFCOMM socket layer initialized [ 2.089036] Bluetooth: RFCOMM ver 1.11 [ 2.089612] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.090431] Bluetooth: BNEP filters: protocol multicast [ 2.091224] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.097509] lib80211: common routines for IEEE802.11 drivers [ 2.098416] Installing 9P2000 support [ 2.107499] Registering the dns_resolver key type [ 2.109676] Magic number: 12:282:744 [ 2.110330] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 2.111249] EDD information not available. [ 2.123035] Sending DHCP requests ., OK [ 2.139039] IP-Config: Got DHCP answer from 192.168.33.1, my address is 192.168.33.15 [ 2.140356] IP-Config: Complete: [ 2.140831] device=eth0, addr=192.168.33.15, mask=255.255.255.0, gw=192.168.33.1, [ 2.142052] host=192.168.33.15, domain=, nis-domain=(none), [ 2.142951] bootserver=192.168.33.1, rootserver=0.0.0.0, rootpath= [ 2.144486] VFS: Unable to mount root fs via NFS, trying floppy. [ 2.163692] VFS: Mounted root (9p filesystem) on device 0:13. [ 2.165529] devtmpfs: mounted [ 2.167655] Freeing unused kernel memory: 512k freed [ 2.168807] Write protecting the kernel read-only data: 12288k [ 2.179043] Freeing unused kernel memory: 1900k freed [ 2.188608] Freeing unused kernel memory: 1432k freed Mounting... Starting '/bin/sh'... bin etc home lib proc sbin tmp var dev foobar1 host lib64 root sys usr virt [ 2.339734] Unregister pv shared memory for cpu 1 [ 2.339738] Unregister pv shared memory for cpu 2 [ 2.339762] Unregister pv shared memory for cpu 3 [ 2.341921] Unregister pv shared memory for cpu 0 [ 2.343623] Restarting system. [ 2.344088] machine restart # lkvm run -k ../../arch/x86/boot/bzImage -m 448 -c 4 --name guest-14232 # KVM session ended normally.