https://bugzilla.kernel.org/show_bug.cgi?id=188171 Bug ID: 188171 Summary: Nested Virtualization via VT-x | Virtualbox in KVM: cannot launch virtualbox guest OS due to 'general protection fault: 0000 [#1] SMP' Product: Virtualization Version: unspecified Kernel Version: 3.13.0-101-generic Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: miciobaubau@xxxxxxxxxxx Regression: No Reported also here: https://sourceforge.net/p/kvm/bugs/556/ Nested Virtualization summary: ____________________ | | | Vbox Guest | | | ----------------| | |Guest OS: Vbox | Vbox in KVM => KO! :-( | ----------------- | | Host OS: kvm | -------------------- ___________________ | | | Vbox Guest | | | ------------- -| | |Guest OS: Vbox | Vbox in Vbox => OK!! | ---------------- | | Host OS: Vbox | ------------------- ---------------- Host OS details ----------------- Host cpu model: model name: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz Host cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap Host OS: cat /etc/issue Ubuntu 14.04.5 LTS Host kvm version: kvm -version QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.30) Host kvm options enabled: cat /sys/module/kvm_intel/parameters/nested Y Host kernel version and arch: uname -a Linux xxx 3.13.0-101-generic #148-Ubuntu SMP Thu Oct 20 22:08:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Qemu command line you are using to start the Guest OS, where Virtualbox is installed: Actually I use virt-manager with the following settings CPU Model: Haswell + Copy host CPU configuration ---------------- Guest OS details----------------- Guest OS: lsb_release -da Debian GNU/Linux 8.6 (jessie) Guest kernel version and arch: uname -a Linux yyy 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 x86_64 Virtualbox version: 5.1.8 r111374 Vbox options: Paravirtualization Interface ANY, Enable VT-x/AMD-V, Enable Nested Paging ---------------- Vbox Guest OS details ----------------- Vbox Guest OS: Debian GNU/Linux 8 Vbox Guest kernel and version: uname -a Linux zzz 4.6.0-0-.bpo.1-686 #1 SMP Debian 4.6.4-1~bpo8+1 i686 GNU/Linux Vbox Guest log: cat Vbox.log VirtualBox VM 5.1.8 r111374 linux.amd64 (Oct 18 2016 15:36:00) release log 00:00:00.318696 Log opened 2016-11-19T10:35:51.837374000Z 00:00:00.318698 Build Type: release 00:00:00.318700 OS Product: Linux 00:00:00.318700 OS Release: 3.16.0-4-amd64 00:00:00.318701 OS Version: #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) 00:00:00.318718 DMI Product Name: Standard PC (i440FX + PIIX, 1996) 00:00:00.318723 DMI Product Version: pc-i440fx-trusty 00:00:00.318777 Host RAM: 7813MB (7.6GB) total, 7504MB (7.3GB) available 00:00:00.318781 Executable: /usr/lib/virtualbox/VirtualBox 00:00:00.318782 Process ID: 12030 00:00:00.318782 Package type: LINUX_64BITS_DEBIAN_8_0 00:00:00.345315 Installed Extension Packs: 00:00:00.345341 None installed! 00:00:00.346431 Console: Machine state changed to 'Starting' 00:00:00.398176 Qt version: 5.3.2 00:00:00.404989 GUI: UIMediumEnumerator: Medium-enumeration finished! 00:00:00.405720 X Server details: vendor: The X.Org Foundation, release: 11604000, protocol version: 11.0, display string: :0.0 00:00:00.405734 Using XKB for keycode to scan code conversion Guest OS log: dmesg [ 1645.678775] SUPR0GipMap: fGetGipCpu=0xb [ 1646.128514] general protection fault: 0000 [#1] SMP [ 1646.128521] Modules linked in: ipt_MASQUERADE xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack x_tables nf_nat nf_conntrack bridge stp llc aufs(C) ppdev pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) joydev kvm_intel kvm crc32_pclmul evdev tun virtio_balloon serio_raw pcspkr aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd virtio_console parport_pc parport pvpanic snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore ttm processor thermal_sys i2c_piix4 drm_kms_helper drm button i2c_core fuse autofs4 hid_generic usbhid hid ext4 crc16 mbcache jbd2 ata_generic virtio_blk virtio_net crct10dif_pclmul crct10dif_common crc32c_intel floppy psmouse [ 1646.128571] ata_piix uhci_hcd ehci_hcd virtio_pci virtio_ring virtio libata scsi_mod usbcore usb_common [ 1646.128586] CPU: 0 PID: 12061 Comm: EMT Tainted: G C O 3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2 [ 1646.128589] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 [ 1646.128592] task: ffff88022767a190 ti: ffff8800ba174000 task.ti: ffff8800ba174000 [ 1646.128594] RIP: 0010:[<ffffffffa058faf1>] [<ffffffffa058faf1>] 0xffffffffa058faf1 [ 1646.128606] RSP: 0018:ffff8800ba177dc0 EFLAGS: 00000206 [ 1646.128608] RAX: 00000000001406f0 RBX: 00000000ffffffdb RCX: 000000000000009b [ 1646.128610] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8800ba177d20 [ 1646.128612] RBP: ffff8800ba177df0 R08: ffffffff8160da48 R09: 00000000756e6547 [ 1646.128613] R10: 000000006c65746e R11: 0000000049656e69 R12: 000000000f8bfbff [ 1646.128615] R13: 0000000000000020 R14: ffff88022a006890 R15: 0000000000000000 [ 1646.128618] FS: 00007f3fb9615700(0000) GS:ffff880233c00000(0000) knlGS:0000000000000000 [ 1646.128621] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1646.128623] CR2: 00007f3fb939c000 CR3: 000000022a377000 CR4: 00000000001406f0 [ 1646.128634] Stack: [ 1646.128636] ffff8800ba177df0 ffffffff00000000 0000000000000000 0000000000000000 [ 1646.128640] 0000000000000000 ffffc90000f6e010 ffff8800ba177e10 ffffffffa05a9b63 [ 1646.128643] 0000000000000000 ffffffffa04721a0 ffff8800ba177e88 ffffffffa04375b0 [ 1646.128649] Call Trace: [ 1646.128667] [<ffffffffa04375b0>] ? supdrvIOCtl+0x1fc0/0x3400 [vboxdrv] [ 1646.128675] [<ffffffffa0431571>] ? VBoxDrvLinuxIOCtl_5_1_8+0x121/0x210 [vboxdrv] [ 1646.128697] [<ffffffff811bce4f>] ? do_vfs_ioctl+0x2cf/0x4b0 [ 1646.128701] [<ffffffff811bd0b1>] ? SyS_ioctl+0x81/0xa0 [ 1646.128714] [<ffffffff8151a5d8>] ? async_page_fault+0x28/0x30 [ 1646.128719] [<ffffffff8151858d>] ? system_call_fast_compare_end+0x10/0x15 [ 1646.128721] Code: 85 c0 0f 88 68 fc ff ff b9 3a 00 00 00 0f 32 48 c1 e2 20 89 c0 48 09 d0 48 89 05 ab 7b 0f 00 0f 20 e0 48 89 05 89 7b 0f 00 b1 9b <0f> 32 48 c1 e2 20 89 c0 b9 80 00 00 c0 48 09 d0 48 89 05 80 7b [ 1646.128753] RIP [<ffffffffa058faf1>] 0xffffffffa058faf1 [ 1646.128761] RSP <ffff8800ba177dc0> [ 1646.128777] ---[ end trace d7e0c42d0708c3d2 ]--- -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html