Re: [gentoo-user] Running old RHEL as a VM on Ryzen

2021-04-16 Thread Adam Carter
>
> > Ok i see 3.10 was released 2013-06-30, so looking for a cpu released the
> > previous year, say
> > IvyBridge, IvyBridge-IBR Intel Xeon E3-12xx v2 (Ivy Bridge, 2012)
> >
> > and $ qemu-system-x86_64 -cpu ? | grep -i ivy
> > x86 IvyBridge (alias configured by machine type)
> >
> > x86 IvyBridge-IBRS(alias of IvyBridge-v2)
> >
> > x86 IvyBridge-v1  Intel Xeon E3-12xx v2 (Ivy Bridge)
> >
> > x86 IvyBridge-v2  Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
> >
> >
> > So if I run the following then RHEL will think it's running on an
> IvyBridge
> > cpu, right?
> > $ qemu-system-x86_64 -cpu 'x86 IvyBridge-v1' etc
>
> Try:
>
> qemu-system-x86_64 -cpu IvyBridge-v1 ...
>
> The x86 part is to indicate the arch only, not meant to be included in the
> stanza.


Thanks - it's working. I had to go back one generation earlier to
'SandyBridge' as IvyBridge couldn't be used due to Ryzen missing the erms
instruction.


Re: [gentoo-user] Running old RHEL as a VM on Ryzen

2021-04-14 Thread Michael
On Wednesday, 14 April 2021 10:28:32 BST Adam Carter wrote:
> > > I tried running an old version of RHEL with an old 3.x kernel in
> > > VirtualBox, however, it won't run due to my hosts Ryzen CPU so I
> > > guess I need something that does CPU emulation.
> > > 
> > > Is this likely to be achievable with qemu ?
> > 
> > Yes. Look up the release date of your kernel[1] and pick a slightly
> > older CPU[2].
> > 
> > [1] <
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/refs/>
> > [2] .
> 
> Great.
> 
> Ok i see 3.10 was released 2013-06-30, so looking for a cpu released the
> previous year, say
> IvyBridge, IvyBridge-IBR Intel Xeon E3-12xx v2 (Ivy Bridge, 2012)
> 
> and $ qemu-system-x86_64 -cpu ? | grep -i ivy
> x86 IvyBridge (alias configured by machine type)
> 
> x86 IvyBridge-IBRS(alias of IvyBridge-v2)
> 
> x86 IvyBridge-v1  Intel Xeon E3-12xx v2 (Ivy Bridge)
> 
> x86 IvyBridge-v2  Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
> 
> 
> So if I run the following then RHEL will think it's running on an IvyBridge
> cpu, right?
> $ qemu-system-x86_64 -cpu 'x86 IvyBridge-v1' etc

Try:

qemu-system-x86_64 -cpu IvyBridge-v1 ...

The x86 part is to indicate the arch only, not meant to be included in the 
stanza.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Running old RHEL as a VM on Ryzen

2021-04-14 Thread Adam Carter
>
> > I tried running an old version of RHEL with an old 3.x kernel in
> > VirtualBox, however, it won't run due to my hosts Ryzen CPU so I
> > guess I need something that does CPU emulation.
> >
> > Is this likely to be achievable with qemu ?
>
> Yes. Look up the release date of your kernel[1] and pick a slightly
> older CPU[2].
>
> [1] <
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/refs/>
> [2] .
>
>
Great.

Ok i see 3.10 was released 2013-06-30, so looking for a cpu released the
previous year, say
IvyBridge, IvyBridge-IBR Intel Xeon E3-12xx v2 (Ivy Bridge, 2012)

and $ qemu-system-x86_64 -cpu ? | grep -i ivy
x86 IvyBridge (alias configured by machine type)

x86 IvyBridge-IBRS(alias of IvyBridge-v2)

x86 IvyBridge-v1  Intel Xeon E3-12xx v2 (Ivy Bridge)

x86 IvyBridge-v2  Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)


So if I run the following then RHEL will think it's running on an IvyBridge
cpu, right?
$ qemu-system-x86_64 -cpu 'x86 IvyBridge-v1' etc


Re: [gentoo-user] Running old RHEL as a VM on Ryzen

2021-04-14 Thread tastytea
On 2021-04-14 15:24+1000 Adam Carter  wrote:

> I tried running an old version of RHEL with an old 3.x kernel in
> VirtualBox, however, it won't run due to my hosts Ryzen CPU so I
> guess I need something that does CPU emulation.
> 
> Is this likely to be achievable with qemu ?

Yes. Look up the release date of your kernel[1] and pick a slightly
older CPU[2]. 

[1] 
[2] .

-- 
Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at
.


pgpIOU__IqnxA.pgp
Description: Digitale Signatur von OpenPGP


[gentoo-user] Running old RHEL as a VM on Ryzen

2021-04-13 Thread Adam Carter
I tried running an old version of RHEL with an old 3.x kernel in
VirtualBox, however, it won't run due to my hosts Ryzen CPU so I guess I
need something that does CPU emulation.

Is this likely to be achievable with qemu ?