We are no longer using the frozen-in-amber microcode from 2015. Now
we use current microcode from Debian (or hopefully in future via other
distros).
Empirically this fixes the XSA-308 test on rimava1, which was failing
and producing very strange symptoms.
We think this will help unblock pushes from xen.git#staging.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> (for both)
target_cmd_root($ho, "chmod 2775 /root");
target_install_packages($ho, qw(ed));
+ if ($ho->{Arch} =~ m/^(?:i386|amd64)$/) {
+ # We don't necessarily know the CPU vendor, but the Debian
+ # packaged microcode doesn't mind us installing both.
+ target_install_packages_nonfree_nonconcurrent($ho,
+ qw(amd64-microcode intel-microcode));
+ }
my $ntpserver = get_target_property($ho, 'NtpServer');
if ($ntpserver) {
my $mem = $r{'dom0_mem'} // 512;
$xenhopt .= " dom0_mem=${mem}M,max:${mem}M";
}
+ $xenhopt .= " ucode=scan";
+
my $append= $r{xen_boot_append};
$xenhopt .= " $append" if defined $append;
$append = get_host_property($ho, 'xen-commandline-append', undef);