[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <accb8b79-4642-4ab0-9e8e-27db775675ad@default>
Date: Thu, 15 Mar 2012 12:44:40 -0700 (PDT)
From: Dan Magenheimer <dan.magenheimer@...cle.com>
To: Akshay Karle <akshay.a.karle@...il.com>,
Konrad Wilk <konrad.wilk@...cle.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
ashu tripathi <er.ashutripathi@...il.com>,
nishant gulhane <nishant.s.gulhane@...il.com>,
Shreyas Mahure <shreyas.mahure@...il.com>,
amarmore2006 <amarmore2006@...il.com>,
mahesh mohan <mahesh6490@...il.com>
Subject: RE: [RFC 1/2] kvm: host-side changes for tmem on KVM
> From: Akshay Karle [mailto:akshay.a.karle@...il.com]
> Subject: Re: [RFC 1/2] kvm: host-side changes for tmem on KVM
>
> >> Working at host:
> >> Once the guest exits to the kvm host, the host determines that the guest exited
> >> to perform some tmem operation(done at kvm_emulate_hypercall)and then
> >> we use zcache to implement this required operations(performed by kvm_pv_tmem_op).
> >
> > Do you need any modifications to the Kconfig file to reflect the KVM dependency?
>
> Yeah, the Kconfig of zcache now needs to be modified to reflect the KVM and the KVM_INTEL or
> KVM_AMD dependency. The Kconfig can also be modified to support tmem for the guest kernels,
> as the zcache code is not at all used in the guest, only the kvm-tmem, cleancache and
> frontswap(if present) code is used in the guest. But, in the host its necessary to enable zcache.
> So the Kconfig can be modified to have the following new field:
> "Transcendent memory support for kvm guests".... Which would compile just the kvm-tmem code.
> And we can add Cleancache and Frontswap as dependencies(similar to zcache).
>
> But it should be made sure that the host kernel has zcache enabled..
If the host kernel does not have zcache enabled, it may return
the value for "unimplemented hypercall". The kvm tmem code in
the guest should be prepared for that as it may even be running
on an older kvm host.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists