Skip to contentSkip to conversation

fw_cfg: add etc/msr_feature_control

PATCH In review Paolo Bonzini 2 participants 4 messages Sep 7, 2021 – Sep 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fw_cfg: add etc/msr_feature_control

The file already existed, but nobody had noticed the warning until now. Add it at the bottom, since that is where unknown files go in legacy mode.

---
 hw/nvram/fw_cfg.c | 1 +
 1 file changed, 1 insertion(+)
hw/nvram/fw_cfg.c +1 -0
index 9b8dcca4ea..c06b30de11 100644
@@ -878,6 +878,7 @@ static struct {
     { "etc/tpm/log", 150 },
     { "etc/acpi/rsdp", 160 },
     { "bootorder", 170 },
+    { "etc/msr_feature_control", 180 },
 
 #define FW_CFG_ORDER_OVERRIDE_LAST 200
 };
Signature · 1 line
2.31.1
#1 lore raw
Quoted 13 lines · Paolo Bonzini

The file already existed, but nobody had noticed the warning until now. Add it at the bottom, since that is where unknown files go in legacy mode.

---
 hw/nvram/fw_cfg.c | 1 +
 1 file changed, 1 insertion(+)
hw/nvram/fw_cfg.c +0 -0
index 9b8dcca4ea..c06b30de11 100644

hw/nvram/fw_cfg.c static struct { · line 881

Quoted 4 lines
hw/nvram/fw_cfg.c +1 -0
@@ -878,6 +878,7 @@ static struct {
     { "etc/tpm/log", 150 },
     { "etc/acpi/rsdp", 160 },
     { "bootorder", 170 },
+    { "etc/msr_feature_control", 180 },
Fixes 217f1b4a721 ("target-i386: Publish advised value of

MSR_IA32_FEATURE_CONTROL via fw_cfg")
?

#2 lore raw
Quoted 2 lines · Philippe Mathieu-Daudé
Fixes 217f1b4a721 ("target-i386: Publish advised value of

MSR_IA32_FEATURE_CONTROL via fw_cfg")

Yes, thanks.

Paolo