Virtual CPU and hardware acceleration

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Virtual CPU and hardware acceleration

Postby dunker » Mon Sep 29, 2014 9:41 pm

When using menuconfig to make automatic settings for grsec, one of the points to configure is for "Virtualization Hardware", having either of two answers, namely, 'first-gen/no hardware virtualization' or ' 'ept/rvi processor support'. If I am installing this Linux kernel's OS as a virtual machine under KVM, which itself requires hardware virtualization to operate, but the cpu of the VM is not going to have hardware virtualization as an emulated attribute (i.e., it will be rather an i686 without this charecteristic), it is not perfectly clear to me how this question should be answered under these conditions. In other words, if I do not intend to emulate a cpu capable of having hardware virtualization flags, should I assume the setting for the grsec security configuration question should not include hardware virtualization, even though I do in fact have hardware virtualization in effect in order to make use of KVM?
dunker
 
Posts: 14
Joined: Sun Jul 07, 2013 3:45 pm

Re: Virtual CPU and hardware acceleration

Postby spender » Mon Sep 29, 2014 10:50 pm

It's from the perspective of the host's CPU. You should thus enable the EPT/RVI support option.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: Virtual CPU and hardware acceleration

Postby dunker » Wed Oct 01, 2014 10:18 am

gracias
dunker
 
Posts: 14
Joined: Sun Jul 07, 2013 3:45 pm


Return to grsecurity support