Re: [kvm-devel] Automatically hibernate XP guest on suspend?

2008-05-14 Thread David Abrahams
on Sat Apr 26 2008, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: If I suspend my host while running a Windows XP guest, the whole machine crashes, so I was hoping to automate hibernation of the guest OS and integrate that into my host's suspend process. Does anyone know how

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2008-05-02 Thread David Abrahams
Avi Kivity wrote: David Abrahams wrote: Jon iroquoi at gmail.com writes: I use: export QEMU_AUDIO_DRV=alsa export QEMU_AUDIO_DAC_FIXED_FREQ=48000 export QEMU_AUDIO_ADC_FIXED_FREQ=48000 export QEMU_ALSA_DAC_BUFFER_SIZE=16384 Buffer size is very important, else it crackles and pops

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2008-05-01 Thread David Abrahams
Jon iroquoi at gmail.com writes: I use: export QEMU_AUDIO_DRV=alsa export QEMU_AUDIO_DAC_FIXED_FREQ=48000 export QEMU_AUDIO_ADC_FIXED_FREQ=48000 export QEMU_ALSA_DAC_BUFFER_SIZE=16384 Buffer size is very important, else it crackles and pops for me. Unfortunately with my upgrade to

Re: [kvm-devel] Automatically hibernate XP guest on suspend?

2008-04-27 Thread David Abrahams
Avi Kivity wrote: David Abrahams wrote: Cam Macdonell wrote: David Abrahams wrote: If I suspend my host while running a Windows XP guest, the whole machine crashes, so I was hoping to automate hibernation of the guest OS and integrate that into my host's suspend process. Does

Re: [kvm-devel] Automatically hibernate XP guest on suspend?

2008-04-27 Thread David Abrahams
Avi Kivity wrote: David Abrahams wrote: If I suspend my host while running a Windows XP guest, the whole machine crashes, so I was hoping to automate hibernation of the guest OS and integrate that into my host's suspend process. Does anyone know how to do that? It's doable (not sure

Re: [kvm-devel] Automatically hibernate XP guest on suspend?

2008-04-25 Thread David Abrahams
Cam Macdonell wrote: David Abrahams wrote: If I suspend my host while running a Windows XP guest, the whole machine crashes, so I was hoping to automate hibernation of the guest OS and integrate that into my host's suspend process. Does anyone know how to do that? Hi Dave, What host

[kvm-devel] Automatically hibernate XP guest on suspend?

2008-04-24 Thread David Abrahams
If I suspend my host while running a Windows XP guest, the whole machine crashes, so I was hoping to automate hibernation of the guest OS and integrate that into my host's suspend process. Does anyone know how to do that? TIA, -- Dave Abrahams Boost Consulting http://boost-consulting.com

Re: [kvm-devel] Ubuntu Gutsy host / XP guest / -smp 2

2008-04-23 Thread David Abrahams
Avi Kivity wrote: David Abrahams wrote: Versions of kvm producing this sort of output are common in archaeological digs. Please try a more recent release. Well, I'll try Hardy Heron soon enough, I suppose. It's due out in 2 weeks. I'm sure you understand that most people

Re: [kvm-devel] Ubuntu Gutsy host / XP guest / -smp 2

2008-04-11 Thread David Abrahams
Avi Kivity wrote: David Abrahams wrote: on Wed Apr 02 2008, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: With the title combination, the guest takes nearly 100% of my real CPU time and still only sees one CPU. Is this a known problem, and does it have a known

Re: [kvm-devel] Ubuntu Gutsy host / XP guest / -smp 2

2008-04-04 Thread David Abrahams
on Wed Apr 02 2008, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: With the title combination, the guest takes nearly 100% of my real CPU time and still only sees one CPU. Is this a known problem, and does it have a known solution? Can you send the output of 'kvm_stat -1

Re: [kvm-devel] Ubuntu Gutsy host / XP guest / -smp 2

2008-04-02 Thread David Abrahams
on Wed Apr 02 2008, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: With the title combination, the guest takes nearly 100% of my real CPU time and still only sees one CPU. Is this a known problem, and does it have a known solution? Can you send the output of 'kvm_stat -1

[kvm-devel] Ubuntu Gutsy host / XP guest / -smp 2

2008-03-31 Thread David Abrahams
With the title combination, the guest takes nearly 100% of my real CPU time and still only sees one CPU. Is this a known problem, and does it have a known solution? Thanks in Advance, -- Dave Abrahams Boost Consulting http://boost-consulting.com

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-23 Thread David Abrahams
on Wed May 23 2007, Avi Kivity avi-AT-qumranet.com wrote: Jon wrote: On Mon, May 21, 2007 at 08:37:48AM -0700, Shahar Frank wrote: You have to make QEMU use ALSA as your sound system and specify a mixer device for input and output. This can be done using some environment variables

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-22 Thread David Abrahams
on Mon May 21 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: David Abrahams wrote: When I have windows XP running under kvm, I get [EMAIL PROTECTED]:/tmp$ aplay /usr/share/sounds/gaim/receive.wav ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave

[kvm-devel] Can I use VMWare images?

2007-05-10 Thread David Abrahams
I'm a little confused about the bottom line on this one: can I take a vm image file created under VMWare, use it with kvm, and expect it to just work? If it's a windows VM, do I need to create hardware profiles? Thanks in advance, -- Dave Abrahams Boost Consulting

Re: [kvm-devel] faster boot with -no-kvm?

2007-05-05 Thread David Abrahams
on Thu Apr 12 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: David Abrahams wrote: on Thu Apr 12 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: There is a workaround: My Computer - Properties - Hardware - Device Manager - [Whatever's

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2007-04-25 Thread David Abrahams
on Wed Apr 25 2007, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: on Tue Apr 24 2007, Avi Kivity avi-AT-qumranet.com wrote: Can you try the following experiments (independently): - run kvm with the '-no-rtc' option Makes no noticeable difference that I can see

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2007-04-23 Thread David Abrahams
on Mon Apr 16 2007, David Abrahams dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org wrote: on Thu Apr 12 2007, David Abrahams dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org wrote: on Thu Apr 12 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-17 Thread David Abrahams
on Tue Apr 17 2007, Avi Kivity avi-AT-qumranet.com wrote: Port an existing setup to kvm/qemu or install on a vm from scratch? If an existing setup, does it still work natively? An existing setup, and yes, it still works natively It could conceivably be due to missing drivers for

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-16 Thread David Abrahams
on Wed Apr 11 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-16 Thread David Abrahams
on Mon Apr 16 2007, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: on Wed Apr 11 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-16 Thread David Abrahams
on Mon Apr 16 2007, Avi Kivity avi-AT-qumranet.com wrote: Well, the disk image may have been corrupted by kvm somehow (I think it unlikely, though) Ugh, please no. so it would be best to reproduce this with stock qemu all the way from installation. I really don't have time for that, and

[kvm-devel] faster boot with -no-kvm?

2007-04-12 Thread David Abrahams
When I start my Windows VM with -no-kvm, it seems to boot much more quickly than without. Also there's a long period, right after the VM changes its screen resolution from the 640x480 used for Windows' boot screen to 1280x1024, where the VM's screen goes all white. Is this all normal? -- Dave

Re: [kvm-devel] faster boot with -no-kvm?

2007-04-12 Thread David Abrahams
on Thu Apr 12 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: David Abrahams wrote: When I start my Windows VM with -no-kvm, it seems to boot much more quickly than without. You probably have acpi enabled in Windows. This causes massive slowdowns in kvm

[kvm-devel] KVM crashes when switching out of fullscreen mode

2007-04-12 Thread David Abrahams
No, this doesn't happen with -no-kvm X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 136 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) Value in failed request: 0x363

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2007-04-12 Thread David Abrahams
on Thu Apr 12 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: qemu is getting cpu time, but not calling into kvm. I'll try to reproduce this locally, right now I'm completely bewildered by this. FYI, if I listen to the radio in windows media player, I don't see the

Re: [kvm-devel] KVM crashes when switching out of fullscreen mode

2007-04-12 Thread David Abrahams
on Thu Apr 12 2007, Anthony Liguori anthony-rdkfGonbjUSkNkDKm+mE6A-AT-public.gmane.org wrote: David Abrahams wrote: No, this doesn't happen with -no-kvm X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 136 (XFree86

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2007-04-11 Thread David Abrahams
on Tue Apr 10 2007, Michael Riepe michael-0QoEqw4nQxo-AT-public.gmane.org wrote: Hi! Avi Kivity wrote: Sounds like ondemand is broken. Maybe it only switches when the load rises in user space. With KVM, it appears in system space. Got to cross-check that on my Core Duo. More data: it

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-11 Thread David Abrahams
on Sat Apr 07 2007, Anthony Liguori anthony-rdkfGonbjUSkNkDKm+mE6A-AT-public.gmane.org wrote: David Abrahams wrote: I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that? I could try

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-11 Thread David Abrahams
on Wed Apr 11 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: David Abrahams wrote: I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that? I could try to adapt http

Re: [kvm-devel] kvm-18 dependency kvm-api-9

2007-04-11 Thread David Abrahams
on Wed Apr 11 2007, Avi Kivity avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org wrote: Eildert Groeneveld wrote: Hello List when trying to install the kvm-18 under kubuntu feisty I get only thus far (dist-upgrade from today): apt-get install kvm The following packages have unmet

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2007-04-09 Thread David Abrahams
on Mon Apr 09 2007, Avi Kivity avi-AT-qumranet.com wrote: David Abrahams wrote: I'm using the ondemand governor on my core duo laptop. Even when kvm is taking 99% of the CPU, somehow instead of the ondemand governor kicking it up to 2GHz, the CPU is still running at half speed. What's up

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-08 Thread David Abrahams
on Sun Apr 08 2007, Gregory Haskins GHaskins-AT-novell.com wrote: I think it will turn out to be a pretty major problem, but probably not for the reason you might think. I know Xen has the ability to point a vbd interface at a physical partition, and I believe KVM does as well though I am

Re: [kvm-devel] Windows under KVM + dual boot

2007-04-08 Thread David Abrahams
on Sun Apr 08 2007, David Abrahams dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org wrote: on Sun Apr 08 2007, Gregory Haskins GHaskins-AT-novell.com wrote: I think it will turn out to be a pretty major problem, but probably not for the reason you might think. I know Xen has

[kvm-devel] Windows under KVM + dual boot

2007-04-07 Thread David Abrahams
I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that? I could try to adapt http://www.motin.eu/www/mirror/physvmware/, but I would prefer to have something more kvm-specific if possible. Thanks