kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 58921] New: [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1)
@ 2013-05-29  2:40 bugzilla-daemon
  2013-06-03 10:48 ` [Bug 58921] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-05-29  2:40 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=58921

           Summary: [nested virt] L2 Windows guest can't boot up ('-cpu
                    host' to start L1)
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.10.0-rc1
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
        AssignedTo: virtualization_kvm@kernel-bugs.osdl.org
        ReportedBy: yongjie.ren@intel.com
        Regression: Yes


Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows): Windows
kvm.git next branch Commit:db6ae6158186a17
qemu-kvm Commit:b5803aa3583e82e513
Host Kernel Version:3.9.0-rc3
Hardware:SandyBridge-EP


Bug detailed description:
--------------------------
In 'kvm on kvm' nested virtualization environment,if I start L1 with '-cpu
host', a Windows (e.g. Win7) guest can't boot up as L2 guest.

note: 
1. when creating a linux guest as L2 guest, L2 guest boot up fine
2. if starting L1 with '-cpu qemu64,+vmx', L2 Windows can boot up.
3. this should be a kvm kernel bug:
kvm next + qemu-kvm   =  result
db6ae615 + b5803aa3   = bad
188424ba + b5803aa3   = good

Reproduce steps:
----------------
1.create L1 guests:
qemu-system-x86_64 --enable-kvm -m 10240 -smp 8 -net
nic,macaddr=00:12:45:67:2B:1C -net tap,script=/etc/kvm/qemu-ifup
nested-kvm-rhel6u4.qcow -cpu host
2. create L2 guests:
qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -net none win7.img


Current result:
----------------
L2 guest (win7 guest) failed to boot up.

Expected result:
----------------
L2 guest (win7 guest) boot up fine

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 58921] [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1)
  2013-05-29  2:40 [Bug 58921] New: [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1) bugzilla-daemon
@ 2013-06-03 10:48 ` bugzilla-daemon
  2013-11-04  6:51 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-06-03 10:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=58921


Nadav Har'El <nyh@math.technion.ac.il> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nyh@math.technion.ac.il




--- Comment #1 from Nadav Har'El <nyh@math.technion.ac.il>  2013-06-03 10:48:19 ---
This is a dup of bug 53641

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 58921] [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1)
  2013-05-29  2:40 [Bug 58921] New: [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1) bugzilla-daemon
  2013-06-03 10:48 ` [Bug 58921] " bugzilla-daemon
@ 2013-11-04  6:51 ` bugzilla-daemon
  2013-11-13 20:10 ` bugzilla-daemon
  2013-11-13 20:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-11-04  6:51 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=58921

Zhou, Chao <chao.zhou@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chao.zhou@intel.com

--- Comment #2 from Zhou, Chao <chao.zhou@intel.com> ---
this commit fixed the bug:
commit cd2633c59b6f511effb53e10fa2c1e20b1cec1e7
Author: Jan Kiszka <jan.kiszka@siemens.com>
Date:   Wed Oct 23 17:42:15 2013 +0100

    nVMX: Fix pick-up of uninjected NMIs

    __vmx_complete_interrupts stored uninjected NMIs in arch.nmi_injected,
    not arch.nmi_pending. So we actually need to check the former field in
    vmcs12_save_pending_event. This fixes the eventinj unit test when run
    in nested KVM.

    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 58921] [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1)
  2013-05-29  2:40 [Bug 58921] New: [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1) bugzilla-daemon
  2013-06-03 10:48 ` [Bug 58921] " bugzilla-daemon
  2013-11-04  6:51 ` bugzilla-daemon
@ 2013-11-13 20:10 ` bugzilla-daemon
  2013-11-13 20:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-11-13 20:10 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=58921

Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alan@lxorguk.ukuu.org.uk
         Resolution|---                         |CODE_FIX

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 58921] [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1)
  2013-05-29  2:40 [Bug 58921] New: [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-11-13 20:10 ` bugzilla-daemon
@ 2013-11-13 20:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-11-13 20:10 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=58921

Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-13 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29  2:40 [Bug 58921] New: [nested virt] L2 Windows guest can't boot up ('-cpu host' to start L1) bugzilla-daemon
2013-06-03 10:48 ` [Bug 58921] " bugzilla-daemon
2013-11-04  6:51 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon
2013-11-13 20:10 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).