Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1685328
| From | Radim Krčmář <rkrcmar@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor |
| Date | 2017-07-11 22:30 +0200 |
| Message-ID | <u29Xc-6WM-17@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <u27C2-5m0-15@gated-at.bofh.it> <u2853-5KF-15@gated-at.bofh.it> <u28eK-5Oe-3@gated-at.bofh.it> <u28Rr-6kH-1@gated-at.bofh.it> <u29aO-6ru-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2017-07-11 15:38-0400, Bandan Das: > Radim Krčmář <rkrcmar@redhat.com> writes: > > > 2017-07-11 14:35-0400, Bandan Das: > >> Jim Mattson <jmattson@google.com> writes: > >> ... > >> >>> I can find the definition for an vmexit in case of index >= > >> >>> VMFUNC_EPTP_ENTRIES, but not for !vmcs12->eptp_list_address in the SDM. > >> >>> > >> >>> Can you give me a hint? > >> >> > >> >> I don't think there is. Since, we are basically emulating eptp switching > >> >> for L2, this is a good check to have. > >> > > >> > There is nothing wrong with a hypervisor using physical page 0 for > >> > whatever purpose it likes, including an EPTP list. > >> > >> Right, but of all the things, a l1 hypervisor wanting page 0 for a eptp list > >> address most likely means it forgot to initialize it. Whatever damage it does will > >> still end up with vmfunc vmexit anyway. > > > > Most likely, but not certainly. I also don't see a to diverge from the > > spec here. > > Actually, this is a specific case where I would like to diverge from the spec. > But then again, it's L1 shooting itself in the foot and this would be a rarely > used code path, so, I am fine removing it. Thanks, we're not here to judge the guest, but to provide a bare-metal experience. :)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/3] Expose VMFUNC to the nested hypervisor Bandan Das <bsd@redhat.com> - 2017-07-10 23:00 +0200
[PATCH v4 2/3] KVM: nVMX: Enable VMFUNC for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-10 23:00 +0200
[PATCH v4 1/3] KVM: vmx: Enable VMFUNCs Bandan Das <bsd@redhat.com> - 2017-07-10 23:00 +0200
[PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-10 23:00 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor David Hildenbrand <david@redhat.com> - 2017-07-11 10:00 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Paolo Bonzini <pbonzini@redhat.com> - 2017-07-11 10:50 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 16:00 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 20:10 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 21:20 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 21:40 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 20:00 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 20:30 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 21:40 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 22:00 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 22:30 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 22:40 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 22:50 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 23:10 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-12 15:30 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-12 20:20 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-12 21:20 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-17 20:00 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Jim Mattson <jmattson@google.com> - 2017-07-11 20:30 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 20:40 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 21:20 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 21:40 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 22:30 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-11 22:50 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Radim Krčmář <rkrcmar@redhat.com> - 2017-07-12 15:50 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-12 20:10 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor David Hildenbrand <david@redhat.com> - 2017-07-13 17:50 +0200
Re: [PATCH v4 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor Bandan Das <bsd@redhat.com> - 2017-07-13 19:10 +0200
csiph-web