Re: [LAU] Linux/Windows dichotomy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Friday, October 29, 2010 - 4:22 pm

On Wed, Oct 27, 2010 at 7:01 PM, Niels Mayer 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.

Result: http://nielsmayer.com/meego/qemu-finally-running-winxp.png

.....................................................
#!/bin/sh

## (1) "-smb /media/disk"
## see https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo#Sharing%20File...
## 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%2...
## allows use of qemu w/o locking the mouse in the window and ctl-alt
to unlock...
##
## (3) "-redir tcp:3389::3389"
## see https://help.ubuntu.com/community/SeamlessVirtualization
##
## (4) "-vga std"
## "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.
##
export QEMU_AUDIO_DRV="alsa"
cd /media
exec qemu -soundhw sb16 -localtime -smb disk -usb -usbdevice tablet
-vga std -redir tcp:3389::3389 -m 1024 ~/windows-qemu/windows.img
........................................

-- Niels
http://nielsmayer.com

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.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Linux/Windows dichotomy, Tobiah, (Wed Oct 20, 7:14 pm)
Re: [LAU] Linux/Windows dichotomy, Niels Mayer, (Thu Oct 28, 2:01 am)
Re: [LAU] Linux/Windows dichotomy, Niels Mayer, (Fri Oct 29, 4:22 pm)
Re: [LAU] Linux/Windows dichotomy, Mark Knecht, (Thu Oct 28, 4:57 pm)
Re: [LAU] Linux/Windows dichotomy, Ken Restivo, (Wed Oct 20, 11:54 pm)
Re: [LAU] Linux/Windows dichotomy, Tobiah, (Thu Oct 21, 5:56 pm)
Re: [LAU] Linux/Windows dichotomy, Paul Davis, (Thu Oct 21, 1:12 am)
Re: [LAU] Linux/Windows dichotomy, torbenh, (Thu Oct 21, 3:38 pm)
Re: [LAU] Linux/Windows dichotomy, Mark Knecht, (Thu Oct 21, 2:03 pm)
Re: [LAU] Linux/Windows dichotomy, David Santamauro, (Fri Oct 29, 9:18 am)
Re: [LAU] Linux/Windows dichotomy, Joe Hartley, (Thu Oct 21, 2:35 pm)
Re: [LAU] Linux/Windows dichotomy, allcoms, (Thu Oct 21, 2:48 pm)
Re: [LAU] Linux/Windows dichotomy, Leonardo Palomares, (Thu Oct 21, 3:38 pm)
Re: [LAU] Linux/Windows dichotomy, Luke Peterson, (Thu Oct 21, 12:00 am)