Skip to contentSkip to conversation

docs: add guidance on configuring CPU models for x86

PATCH Superseded Daniel P. Berrangé 4 participants 5 messages Jun 15, 2018 – Jun 25, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: add guidance on configuring CPU models for x86

With the recent set of CPU hardware vulnerabilities on x86, it is increasingly difficult to understand which CPU configurations are good to use and what flaws they might be vulnerable to.

This doc attempts to help management applications and administrators in picking sensible CPU configuration on x86 hosts. It outlines which of the named CPU models are good choices, and describes which extra CPU flags should be enabled to allow the guest to mitigate hardware flaws.

---
 MAINTAINERS             |   1 +
 docs/cpu-models-x86.txt | 400 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 401 insertions(+)
 create mode 100644 docs/cpu-models-x86.txt
MAINTAINERS +1 -0
index 8a94517e9e..4dc1d60fef 100644
@@ -285,6 +285,7 @@ S: Maintained
 F: target/i386/
 F: hw/i386/
 F: disas/i386.c
+F: docs/cpu-models-x86.txt
 T: git git://github.com/ehabkost/qemu.git x86-next
 
 Xtensa
docs/cpu-models-x86.txt new file +400 -0

400 lines not on this page · raw message

Signature · 1 line
2.17.0
#1 lore raw
Quoted 10 lines · Daniel P. Berrangé

With the recent set of CPU hardware vulnerabilities on x86, it is increasingly difficult to understand which CPU configurations are good to use and what flaws they might be vulnerable to.

This doc attempts to help management applications and administrators in picking sensible CPU configuration on x86 hosts. It outlines which of the named CPU models are good choices, and describes which extra CPU flags should be enabled to allow the guest to mitigate hardware flaws.

Thank you very much.

I wonder how we could reference this from the man page and qemu-doc.html without saying "look at the QEMU source tree".

(I'm not willing to rewrite this using texinfo to make that happen.)

Signature · 1 line
Eduardo
#2 lore raw
Quoted 10 lines · Eduardo Habkost
Quoted 9 lines · Daniel P. Berrangé

With the recent set of CPU hardware vulnerabilities on x86, it is increasingly difficult to understand which CPU configurations are good to use and what flaws they might be vulnerable to.

This doc attempts to help management applications and administrators in picking sensible CPU configuration on x86 hosts. It outlines which of the named CPU models are good choices, and describes which extra CPU flags should be enabled to allow the guest to mitigate hardware flaws.

Quoted 6 lines
Quoted 1 line

Thank you very much.

I wonder how we could reference this from the man page and qemu-doc.html without saying "look at the QEMU source tree".

Same way as the other contents there.

Quoted 2 lines

(I'm not willing to rewrite this using texinfo to make that happen.)

Texinfo is simple.

If all else fails, ask for my help after soft freeze.

#3 lore raw
Quoted 19 lines · Markus Armbruster
Quoted 10 lines · Eduardo Habkost
Quoted 9 lines · Daniel P. Berrangé

With the recent set of CPU hardware vulnerabilities on x86, it is increasingly difficult to understand which CPU configurations are good to use and what flaws they might be vulnerable to.

This doc attempts to help management applications and administrators in picking sensible CPU configuration on x86 hosts. It outlines which of the named CPU models are good choices, and describes which extra CPU flags should be enabled to allow the guest to mitigate hardware flaws.

Quoted 6 lines
Quoted 1 line

Thank you very much.

I wonder how we could reference this from the man page and qemu-doc.html without saying "look at the QEMU source tree".

Quoted 8 lines

Same way as the other contents there.

Quoted 2 lines

(I'm not willing to rewrite this using texinfo to make that happen.)

Texinfo is simple.

If all else fails, ask for my help after soft freeze.

If someone already hasn't done it, I can help rewrite it. (It'll let me try out 'Texinfo' in real and I have to deal with CPU modelling aspects elsewhere in the higher-level tools. :-))

Signature · 1 line
/kashyap
#4 lore raw
Quoted 2 lines · Kashyap Chamarthy
Quoted 1 line · Markus Armbruster

Eduardo Habkost <[email protected]> writes:

[...]

Quoted 7 lines
Quoted 3 lines

Texinfo is simple.

If all else fails, ask for my help after soft freeze.

If someone already hasn't done it, I can help rewrite it. (It'll let me try out 'Texinfo' in real and I have to deal with CPU modelling aspects elsewhere in the higher-level tools. :-))

Oops, Dan already did it in v2. Please disregard the above.

(Sorry for the noise.)

Signature · 1 line
/kashyap