[LAU] Linux/Windows dichotomy
nielsmayer at gmail.com
Fri Oct 29 16:22:00 UTC 2010
On Wed, Oct 27, 2010 at 7:01 PM, Niels Mayer <nielsmayer at gmail.com> wrote:
Got it all running, networking works, sound seems to work,
http://cygwin.com is all setup (SSH, xemacs, bash, xterm) && still
updating a zillion microsoft security updates to "Win XP Pro Media
Center Edition" (it's a legal copy of windows XP from an old broken
laptop, so i re-registered and now ms-updates work within the virtual
windows). Eventually, I'll fire up an old copy of Native Instruments
"traktor" 3 and see how well audio actually works. Seems easy enough
to send audio to a digital out on the default ALSA card where windows
sounds output, and run that into the digital input of a
jackd-controlled card under linux...
The nice thing about using Media Center Edition of XP is
tablet/touchscreen support. With that, you can skip the mouse-grab
typical of normal qemu runs and get a normal window/mouse interaction
with the rest of the desktop. See qemu(1) manual page, and launch
script below for details.
## (1) "-smb /media/disk"
## see https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo#Sharing%20Files%20between%20the%20Host%20and%20VM
## on windows, do: "net use e: \\10.0.2.2\qemu_share"
## (2) "-usb -usbdevice tablet"
## see https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo#USB%20Tablet%20Emulation
## allows use of qemu w/o locking the mouse in the window and ctl-alt
## (3) "-redir tcp:3389::3389"
## see https://help.ubuntu.com/community/SeamlessVirtualization
## (4) "-vga std"
## Standard VGA card with Bochs VBE extensions. If
## your guest OS supports the VESA 2.0 VBE extensions
## (e.g. Windows XP) and if you want to use high
## resolution modes (>= 1280x1024x16) then you should
## use this option.
exec qemu -soundhw sb16 -localtime -smb disk -usb -usbdevice tablet
-vga std -redir tcp:3389::3389 -m 1024 ~/windows-qemu/windows.img
PS: Dumb question: does anybody know how to get qemu to start up from
an actual disk, rather than a disk image? I'd like to plug in my old
dead laptop's drive via USB and have qemu boot directly off that
drive, giving me my old windows/linux lapburner (due to 3.4Ghz Pentium
4 CPU) back again. All the docs on qemu i've read talk about using a
disk image only, rather than pointing the virtual OS at its own
specific disk-drive. Yes, obviously I could DD the whole disk into an
image and run that -- if I had enough disk space to hold an image of
that disk right now.
More information about the Linux-audio-user