* [Qemu-devel] cpu.fail / MDS fixes
@ 2019-05-15 17:13 Stefan Priebe - Profihost AG
2019-05-15 17:54 ` Daniel P. Berrangé
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2019-05-15 17:13 UTC (permalink / raw)
To: qemu-devel
Hello list,
i've updated my host to kernel 4.19.43 and applied the following patch
to my qemu 2.12.1:
https://bugzilla.suse.com/attachment.cgi?id=798722
But my guest running 4.19.43 still says:
Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state
unknown
while the host says:
Vulnerable: Clear CPU buffers attempted, SMT Host state unknown
I expected the guest can use the new microcode.
Greets,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] cpu.fail / MDS fixes
2019-05-15 17:13 [Qemu-devel] cpu.fail / MDS fixes Stefan Priebe - Profihost AG
@ 2019-05-15 17:54 ` Daniel P. Berrangé
2019-05-15 19:24 ` Stefan Priebe - Profihost AG
0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2019-05-15 17:54 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG; +Cc: qemu-devel
On Wed, May 15, 2019 at 07:13:56PM +0200, Stefan Priebe - Profihost AG wrote:
> Hello list,
>
> i've updated my host to kernel 4.19.43 and applied the following patch
> to my qemu 2.12.1:
> https://bugzilla.suse.com/attachment.cgi?id=798722
>
> But my guest running 4.19.43 still says:
> Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state
> unknown
>
> while the host says:
> Vulnerable: Clear CPU buffers attempted, SMT Host state unknown
That suggests your host OS hasn't got the new microcode installed
or has not loaded it.
You want the host to report that it is Mitigated, and for the
host's /proc/cpuinfo to report "md-clear" exists.
> I expected the guest can use the new microcode.
You've not said what CPU model you've given to the guest.
You need either "-cpu host", or if using a named CPU model
you need to explicitly turn on the "md-clear" feature
(and all previous fixes)
eg "-cpu Haswell,+spec-ctrl,+ssbd,+md-clear"
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] cpu.fail / MDS fixes
2019-05-15 17:54 ` Daniel P. Berrangé
@ 2019-05-15 19:24 ` Stefan Priebe - Profihost AG
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2019-05-15 19:24 UTC (permalink / raw)
To: Daniel P. Berrangé; +Cc: qemu-devel
Am 15.05.19 um 19:54 schrieb Daniel P. Berrangé:
> On Wed, May 15, 2019 at 07:13:56PM +0200, Stefan Priebe - Profihost AG wrote:
>> Hello list,
>>
>> i've updated my host to kernel 4.19.43 and applied the following patch
>> to my qemu 2.12.1:
>> https://bugzilla.suse.com/attachment.cgi?id=798722
>>
>> But my guest running 4.19.43 still says:
>> Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state
>> unknown
>>
>> while the host says:
>> Vulnerable: Clear CPU buffers attempted, SMT Host state unknown
>
> That suggests your host OS hasn't got the new microcode installed
> or has not loaded it.
No it does not. A not loaded Microcode looks like this:
Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
but in my case it is:
Mitigation: Clear CPU buffers; SMT vulnerable
on the host as hyper threading is still enabled.
> You want the host to report that it is Mitigated, and for the
> host's /proc/cpuinfo to report "md-clear" exists.
>
>> I expected the guest can use the new microcode.
>
> You've not said what CPU model you've given to the guest.
>
> You need either "-cpu host", or if using a named CPU model
> you need to explicitly turn on the "md-clear" feature
> (and all previous fixes)
>
> eg "-cpu Haswell,+spec-ctrl,+ssbd,+md-clear"
hah yes you're true i need to specifiy +md-clean
Thanks!
> Regards,
> Daniel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-15 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-15 17:13 [Qemu-devel] cpu.fail / MDS fixes Stefan Priebe - Profihost AG
2019-05-15 17:54 ` Daniel P. Berrangé
2019-05-15 19:24 ` Stefan Priebe - Profihost AG
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.