On 02/08/2011 02:36 PM, Nadav Har'El wrote:
On Tue, Feb 08, 2011, Avi Kivity wrote about "Re: [PATCH 15/27] nVMX: Prepare vmcs02 from vmcs01 and vmcs12": > >So isn't the first setting, in vmx_vcpu_setup(), redundant? > > It is. It's just historical baggage - these lines were introduced about > 20 commits into kvm development (af9d6e204919016ca in qemu-kvm.git) and > never removed, even after it was fixed to be per-cpu. Thanks. As part of my patch, I'm splitting off a function vmx_set_constant_host_state() from vmx_vcpu_setup() (the same function will also be used to set up the host state on vmcs02). So I'll remove that redundant setting from this function.
Feel free to post cleanups like that as independent patches which can be merged immediately.
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html