Gentoo Archives: gentoo-hardened

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] virtualization
Date: Sat, 22 Dec 2012 18:02:24
Message-Id: 50D5D41C.2010307@orlitzky.com
In Reply to: [gentoo-hardened] virtualization by Alex Efros
1 On 12/22/2012 09:37 AM, Alex Efros wrote:
2 > Hi!
3 >
4 > Ok, let's forget about VMware/VirtualBox, 3D acceleration, MacOSX…
5 >
6 > I want all of this, but, hell, I can probably live without it.
7 >
8 > Is there exists __ANY__ way to run at least Win7 on 64-bit hardened gentoo
9 > with good enough speed for comfortable use (on fast enough modern system:
10 > Core i7 @ 4.6GHz + GeForce GTX 560 Ti using x11-drivers/nvidia-drivers)?
11 >
12 > Actually, do programmers use hardened gentoo at all? I'm a programmer, and
13 > I need to test my code. And this mean I need to test portability issues
14 > too. So, I need to be able to run both 32- and 64-bit versions of
15 > different OS. How you guys live without that since about 2.6.39 (when
16 > virtualization support was broken in hardened)?
17 >
18
19 Use KVM, it works well enough. The libvirt and virt-manager stuff was
20 more trouble than it was worth the last time I tried, but you can create
21 simple shell scripts to launch your VMs. For example,
22
23 $ cat bin/xp32
24 #!/bin/bash
25 qemu-kvm \
26 -m 2048 \
27 -localtime \
28 -daemonize \
29 -sdl \
30 -k en-us \
31 -soundhw all \
32 -hda $1
33
34 I also have, running my school copies of Mathematica et. al,
35
36 $ cat bin/math
37 #!/bin/bash
38 qemu-kvm \
39 -m 3192 \
40 -cpu kvm64 \
41 -smp 2 \
42 -sdl \
43 -daemonize \
44 -k en-us \
45 -drive file=/mnt/storage/kvm/math.img,media=disk,index=0,if=virtio

Replies

Subject Author
Re: [gentoo-hardened] virtualization Alex Efros <powerman@××××××××.name>