kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
@ 2014-05-12  3:06 bugzilla-daemon
  2014-05-12  3:06 ` [Bug 75981] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-12  3:06 UTC (permalink / raw)
  To: kvm

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

            Bug ID: 75981
           Summary: [Nested kvm on kvm]L2 guest reboot continuously when
                    create a rhel6u5(64bit) as L2 guest.
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.15.0-rc1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: chao.zhou@intel.com
        Regression: No

Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):Linux
kvm.git Commit:198c74f43f0f5473f99967aead30ddc622804bc1
qemu.git Commit:411f491e0af173cf8f39347574941bd26fbae381
Host Kernel Version:3.15.0-rc1
Hardware:Romley_EP


Bug detailed description:
--------------------------
when create L1 guest with "-cpu host" , then create a 64bit rhel6u5 guest as L2
guest, the L2 guest reboot continuously.

note:
1. create a 64bit RHEL6u4 as L2 guest, the guest reboot continuously.
2. when creat a 32bit rhel6u5 guest as L2 guest, the L2 guest works fine
3. this should be a kernel bug:
kvm      +  qemu     = result
198c74f4 + 411f491e  = bad
0f689a33 + 411f491e  = good


Reproduce steps:
----------------
1. create L1 guest:
qemu-system-x86_64 -enable-kvm -m 8G -smp 4 -net nic,macaddr=00:12:41:51:14:16
-net tap,script=/etc/kvm/qemu-ifup ia32e_nested-kvm.img -cpu host,level=9
2. create L2 guest
qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -net none ia32e_rhel6u4.img


Current result:
----------------
64bit rhel6u5 as L2 guest reboot continuously

Expected result:
----------------
64bit rhel6u5 as L2 guest works fine

Basic root-causing log:
----------------------

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

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

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
@ 2014-05-12  3:06 ` bugzilla-daemon
  2014-05-12  7:05 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-12  3:06 UTC (permalink / raw)
  To: kvm

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

--- Comment #1 from Zhou, Chao <chao.zhou@intel.com> ---
the first bad commit is:
commit 346874c9507a2582d0c00021f848de6e115f276c
Author: Nadav Amit <namit@cs.technion.ac.il>
Date:   Fri Apr 18 03:35:09 2014 +0300

    KVM: x86: Fix CR3 reserved bits

    According to Intel specifications, PAE and non-PAE does not have any
reserved
    bits.  In long-mode, regardless to PCIDE, only the high bits (above the
    physical address) are reserved.

    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

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

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

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
  2014-05-12  3:06 ` [Bug 75981] " bugzilla-daemon
@ 2014-05-12  7:05 ` bugzilla-daemon
  2014-05-12 18:06 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-12  7:05 UTC (permalink / raw)
  To: kvm

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

Jan Kiszka <jan.kiszka@web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kiszka@web.de

--- Comment #2 from Jan Kiszka <jan.kiszka@web.de> ---
Might be fixed by "KVM: x86: Fix CR3 reserved bits check in long mode"
(http://thread.gmane.org/gmane.linux.kernel/1700662).

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

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

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
  2014-05-12  3:06 ` [Bug 75981] " bugzilla-daemon
  2014-05-12  7:05 ` bugzilla-daemon
@ 2014-05-12 18:06 ` bugzilla-daemon
  2014-05-20  7:38 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-12 18:06 UTC (permalink / raw)
  To: kvm

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

Paolo Bonzini <bonzini@gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini@gnu.org

--- Comment #3 from Paolo Bonzini <bonzini@gnu.org> ---
I applied that patch to kvm/next and kvm/queue, however I haven't yet tested
nested virt so I'm not yet closing.

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

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

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-05-12 18:06 ` bugzilla-daemon
@ 2014-05-20  7:38 ` bugzilla-daemon
  2014-05-20  7:40 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-20  7:38 UTC (permalink / raw)
  To: kvm

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

--- Comment #4 from Zhou, Chao <chao.zhou@intel.com> ---
kvm.git + qemu.git: d9f89b88_e5bfd640
host kernel:3.15.0_rc1
test on Romley_EP, create a 64bit rhel6u5 guest as L2 guest, the L2 guest boots
up fine.

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

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

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-05-20  7:38 ` bugzilla-daemon
@ 2014-05-20  7:40 ` bugzilla-daemon
  2014-05-20  7:40 ` bugzilla-daemon
  2014-05-20  7:40 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-20  7:40 UTC (permalink / raw)
  To: kvm

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

--- Comment #5 from Zhou, Chao <chao.zhou@intel.com> ---
this commit fixed the bug:
commit d9f89b88f5102ce235b75a5907838e3c7ed84b97
Author: Jan Kiszka <jan.kiszka@siemens.com>
Date:   Sat May 10 09:24:34 2014 +0200

    KVM: x86: Fix CR3 reserved bits check in long mode

    Regression of 346874c9: PAE is set in long mode, but that does not mean
    we have valid PDPTRs.

    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] 8+ messages in thread

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-05-20  7:40 ` bugzilla-daemon
@ 2014-05-20  7:40 ` bugzilla-daemon
  2014-05-20  7:40 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-20  7:40 UTC (permalink / raw)
  To: kvm

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

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

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

* [Bug 75981] [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest.
  2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-05-20  7:40 ` bugzilla-daemon
@ 2014-05-20  7:40 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-05-20  7:40 UTC (permalink / raw)
  To: kvm

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

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

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

end of thread, other threads:[~2014-05-20  7:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12  3:06 [Bug 75981] New: [Nested kvm on kvm]L2 guest reboot continuously when create a rhel6u5(64bit) as L2 guest bugzilla-daemon
2014-05-12  3:06 ` [Bug 75981] " bugzilla-daemon
2014-05-12  7:05 ` bugzilla-daemon
2014-05-12 18:06 ` bugzilla-daemon
2014-05-20  7:38 ` bugzilla-daemon
2014-05-20  7:40 ` bugzilla-daemon
2014-05-20  7:40 ` bugzilla-daemon
2014-05-20  7:40 ` 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).