[libvirt-users] Changing CPU cache size of guest

Eric Blake eblake at redhat.com
Fri Jul 19 16:12:47 UTC 2013


On 07/19/2013 09:34 AM, Peter Matulis wrote:
> Hi everybody,
> 
> Using libvirt 1.0.0 how does one change the L2 cache size of the virtual
> CPU?  I can change the CPU model but the cache size never changes:
> 
> <cpu mode='host-passthrough'/>
> <model>Nehalem</model>
> 
> OR
> 
> <cpu match='exact' mode='custom'/>
> <model>Nehalem</model>
> 
> Is there a qemu requirement?

As far as I know, qemu does not expose a command line option that lets
you determine the size of the L2 cache that the guest will see; as long
as qemu doesn't have the knob, then libvirt can't expose the knob in
XML.  So yes, you'd have to implement it in qemu first.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130719/dcf2921e/attachment.sig>


More information about the libvirt-users mailing list