1 |
> |
2 |
> > I tried running an old version of RHEL with an old 3.x kernel in |
3 |
> > VirtualBox, however, it won't run due to my hosts Ryzen CPU so I |
4 |
> > guess I need something that does CPU emulation. |
5 |
> > |
6 |
> > Is this likely to be achievable with qemu ? |
7 |
> |
8 |
> Yes. Look up the release date of your kernel[1] and pick a slightly |
9 |
> older CPU[2]. |
10 |
> |
11 |
> [1] < |
12 |
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/refs/> |
13 |
> [2] <https://qemu.readthedocs.io/en/latest/system/qemu-cpu-models.html>. |
14 |
> |
15 |
> |
16 |
Great. |
17 |
|
18 |
Ok i see 3.10 was released 2013-06-30, so looking for a cpu released the |
19 |
previous year, say |
20 |
IvyBridge, IvyBridge-IBR Intel Xeon E3-12xx v2 (Ivy Bridge, 2012) |
21 |
|
22 |
and $ qemu-system-x86_64 -cpu ? | grep -i ivy |
23 |
x86 IvyBridge (alias configured by machine type) |
24 |
|
25 |
x86 IvyBridge-IBRS (alias of IvyBridge-v2) |
26 |
|
27 |
x86 IvyBridge-v1 Intel Xeon E3-12xx v2 (Ivy Bridge) |
28 |
|
29 |
x86 IvyBridge-v2 Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) |
30 |
|
31 |
|
32 |
So if I run the following then RHEL will think it's running on an IvyBridge |
33 |
cpu, right? |
34 |
$ qemu-system-x86_64 -cpu 'x86 IvyBridge-v1' etc |