Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742237

Re: KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove lguest support)

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove lguest support)
Date 2017-09-29 18:40 +0200
Message-ID <uv6ut-8Q-7@gated-at.bofh.it> (permalink)
References <uv5I6-83d-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29/09/2017 17:47, Lai Jiangshan wrote:
> Hello, all
> 
> An interesting (at least to me) thinking came up to me when I found
> that the lguest was removed. But I don't have enough knowledge
> to find out the answer nor energy to implement it in some time.
> 
> Is it possible to implement kvm-pv which allows kvm to run on
> the boxes without hardware virtualization support, so that
> qemu/kvm can be used on clouds such as aws, azure?

No, please don't. :)  Even Xen is moving from PV to PVH (paravirtualized
hardware with event channels, grant tables and the like, but still using
hardware extensions for MMU).

Rather, cloud providers should help getting nested virtualization ready
for production use.  At least for KVM it's not that far.

Paolo

> Without hardware virtualization support, the host kvm-pv module and
> the guest linux kernel need to cooperate in some ways. And some kvm
> facilities can help. For instance, the existing shadow-paging, which
> was not introduced when lguest had been added to kernel, could be
> reused to help on mmu virtualization. For guest kernel/userspace
> separation in x86_64, the intel cpu's segment registers can help too.
> (or use a new set of page-table for the guest kernel on amd64).
> 
> The thought is quite shallow, but I hope this email brings some
> inspirations rather than annoyance. And I'm sorry if the later things
> would happen.
> 
> Thanks,
> Lai.
> 
> On Thu, Aug 17, 2017 at 1:31 AM, Juergen Gross <jgross@suse.com> wrote:
>> Lguest seems to be rather unused these days. It has seen only patches
>> ensuring it still builds the last two years and its official state is
>> "Odd Fixes".
>>
>> Nuke it in order to be able to clean up the paravirt code.
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove lguest support) Lai Jiangshan <jiangshanlai+lkml@gmail.com> - 2017-09-29 17:50 +0200
  Re: KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove lguest  support) Paolo Bonzini <pbonzini@redhat.com> - 2017-09-29 18:40 +0200
    Re: KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove lguest support) Lai Jiangshan <jiangshanlai+lkml@gmail.com> - 2017-09-30 02:10 +0200
      Re: KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove lguest  support) Paolo Bonzini <pbonzini@redhat.com> - 2017-09-30 05:40 +0200
        Re: [Xen-devel] KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove  lguest support) George Dunlap <george.dunlap@citrix.com> - 2017-10-02 12:40 +0200
          Re: [Xen-devel] KVM PV Paolo Bonzini <pbonzini@redhat.com> - 2017-10-02 14:20 +0200
    Re: [Xen-devel] KVM PV (was: Re: [PATCH v2 2/2] x86/lguest: remove  lguest support) George Dunlap <dunlapg@umich.edu> - 2017-10-02 12:20 +0200

csiph-web