Re: [PATCH 2/2] qemu: Generate command line for tb-cache feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/4/21 6:51 PM, Kashyap Chamarthy wrote:
> On Thu, Nov 04, 2021 at 01:22:53PM +0100, Michal Privoznik wrote:
>> Alright, here's the deal: to enable tb-cache one has to use
>> '-accel tcg,tb-size=' which then conflicts with '-machine
>> accel=tcg'. But sure, we can use the old -accel in this specific
>> case. But because of how the tb-size argument is defined in QEMU
>> there's no way for us to have a capability check. The feature was
>> introduced in QEMU commit of v5.0.0-rc0~175^2~62 and is tied to
>> TCG only. Therefore, I think we can live without capability
>> check. Worst case scenario, QEMU fails to start.
> 
> Hmm, you write: "... we can use the old -accel",  I was told by Paolo
> Bonzini the other day that "-accel" is preferred  instead of "-machine
> accel".   Hence I filed this GitLab ticket a couple of days:
> 
>     https://gitlab.com/libvirt/libvirt/-/issues/233 (Use `-accel`
>     instead of `-machine accel`)
> 
> [...]
> 

Yeah, I don't know why I thought that -accel was older than -machine
accel. Silly me :-) let me post v2.

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux