* [Qemu-devel] virtual machine halting and loosing connections
@ 2007-03-27 23:34 Kyle Hubert
2007-03-28 0:22 ` andrzej zaborowski
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Kyle Hubert @ 2007-03-27 23:34 UTC (permalink / raw)
To: qemu-devel
I've been looking online, but I can't say that I have found the answer
to this yet.
When using QEMU, I've noticed that if I switch away to a different
virtual desktop on the host OS's WM, then QEMU stops what it is doing.
It's really clear when it's in the middle of a boot, but it always
occurs. This causes havoc since I'm using qemu as an ssh client and
the server I'm connecting to drops me for inactivity. This doesn't
matter if I use keepalive or not.
Also, I have noticed that when using the ondemand governor for the
host OS (AMD PowerNow) that QEMU doesn't register for some reason. My
host CPU stays running at 1GHz, when it is capable of 2.6GHz. I can
run anything on the host OS, and I see the cpu freq jump up, so it
works on the host OS. I believe this may have something to do with
kqemu's acceleration.
Thanks for your time.
-Kyle
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-27 23:34 [Qemu-devel] virtual machine halting and loosing connections Kyle Hubert
@ 2007-03-28 0:22 ` andrzej zaborowski
2007-03-28 0:29 ` Paul Brook
2007-03-28 17:30 ` Kyle Hubert
2007-03-28 1:53 ` Rick Vernam
2007-03-28 14:21 ` WaxDragon
2 siblings, 2 replies; 9+ messages in thread
From: andrzej zaborowski @ 2007-03-28 0:22 UTC (permalink / raw)
To: qemu-devel
On 28/03/07, Kyle Hubert <khubert@gmail.com> wrote:
> I've been looking online, but I can't say that I have found the answer
> to this yet.
>
> When using QEMU, I've noticed that if I switch away to a different
> virtual desktop on the host OS's WM, then QEMU stops what it is doing.
> It's really clear when it's in the middle of a boot, but it always
> occurs. This causes havoc since I'm using qemu as an ssh client and
> the server I'm connecting to drops me for inactivity. This doesn't
> matter if I use keepalive or not.
Just confirming that I'm seeing the same thing, and it's not a recent
problem because I remember it happening in 0.7.2 and earlier.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-28 0:22 ` andrzej zaborowski
@ 2007-03-28 0:29 ` Paul Brook
2007-03-28 17:30 ` Kyle Hubert
1 sibling, 0 replies; 9+ messages in thread
From: Paul Brook @ 2007-03-28 0:29 UTC (permalink / raw)
To: qemu-devel, balrogg
On Wednesday 28 March 2007 01:22, andrzej zaborowski wrote:
> On 28/03/07, Kyle Hubert <khubert@gmail.com> wrote:
> > I've been looking online, but I can't say that I have found the answer
> > to this yet.
> >
> > When using QEMU, I've noticed that if I switch away to a different
> > virtual desktop on the host OS's WM, then QEMU stops what it is doing.
> > It's really clear when it's in the middle of a boot, but it always
> > occurs. This causes havoc since I'm using qemu as an ssh client and
> > the server I'm connecting to drops me for inactivity. This doesn't
> > matter if I use keepalive or not.
>
> Just confirming that I'm seeing the same thing, and it's not a recent
> problem because I remember it happening in 0.7.2 and earlier.
My guess is it's a bug in your X server, window manager or SDL. If the X
server stops responding then qemu will stall.
Paul
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-27 23:34 [Qemu-devel] virtual machine halting and loosing connections Kyle Hubert
2007-03-28 0:22 ` andrzej zaborowski
@ 2007-03-28 1:53 ` Rick Vernam
2007-03-28 17:34 ` Rick Vernam
2007-03-28 14:21 ` WaxDragon
2 siblings, 1 reply; 9+ messages in thread
From: Rick Vernam @ 2007-03-28 1:53 UTC (permalink / raw)
To: qemu-devel
On Tuesday 27 March 2007 06:34:04 pm Kyle Hubert wrote:
> I've been looking online, but I can't say that I have found the answer
> to this yet.
>
> When using QEMU, I've noticed that if I switch away to a different
> virtual desktop on the host OS's WM, then QEMU stops what it is doing.
> It's really clear when it's in the middle of a boot, but it always
> occurs. This causes havoc since I'm using qemu as an ssh client and
> the server I'm connecting to drops me for inactivity. This doesn't
> matter if I use keepalive or not.
I can say that I do not get this behavior.
Host OS is linux, no-frills Xorg, KDE.
I start up one of my VMs and switch to different desktop...a minute or so
later I'm able to ssh to that VM - after starting it, I never even visited
the desktop it's on.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-27 23:34 [Qemu-devel] virtual machine halting and loosing connections Kyle Hubert
2007-03-28 0:22 ` andrzej zaborowski
2007-03-28 1:53 ` Rick Vernam
@ 2007-03-28 14:21 ` WaxDragon
2007-03-28 17:28 ` Kyle Hubert
2 siblings, 1 reply; 9+ messages in thread
From: WaxDragon @ 2007-03-28 14:21 UTC (permalink / raw)
To: qemu-devel
On 3/27/07, Kyle Hubert <khubert@gmail.com> wrote:
> Also, I have noticed that when using the ondemand governor for the
> host OS (AMD PowerNow) that QEMU doesn't register for some reason. My
> host CPU stays running at 1GHz, when it is capable of 2.6GHz. I can
> run anything on the host OS, and I see the cpu freq jump up, so it
> works on the host OS. I believe this may have something to do with
> kqemu's acceleration.
I have seen the same behavior with cpufreq, but I run the
'conservative' governor on my AMD. Haven't decided if it's a bug or a
feature yet. ;0)
--
22:38 <@WaxDragon> false ^ true
22:39 < false> :(
22:39 < false> dont you think you can XOR me and get away with it! I
always return!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-28 14:21 ` WaxDragon
@ 2007-03-28 17:28 ` Kyle Hubert
0 siblings, 0 replies; 9+ messages in thread
From: Kyle Hubert @ 2007-03-28 17:28 UTC (permalink / raw)
To: qemu-devel
On 3/28/07, WaxDragon <waxdragon@gmail.com> wrote:
> On 3/27/07, Kyle Hubert <khubert@gmail.com> wrote:
>
> > Also, I have noticed that when using the ondemand governor for the
> > host OS (AMD PowerNow) that QEMU doesn't register for some reason. My
> > host CPU stays running at 1GHz, when it is capable of 2.6GHz. I can
> > run anything on the host OS, and I see the cpu freq jump up, so it
> > works on the host OS. I believe this may have something to do with
> > kqemu's acceleration.
>
> I have seen the same behavior with cpufreq, but I run the
> 'conservative' governor on my AMD. Haven't decided if it's a bug or a
> feature yet. ;0)
I was running ondemand, and I came to the conclusion it's a bug. If
you see this paper:
http://linux.inet.hr/ols2006_the_ondemand_governor.html
You'll see that the ondemand governor policy is based on the idle/busy
statistics from scheduler ticks. I believe that kqemu runs off of
ioctl's from /dev/kqemu, and perhaps the system call doesn't
accurately change this?
How do the processes run in kqemu? Is it a kernel thread? Section 7.3
in that PDF talks of real time threads affecting the ondemand
scheduler.
NOTE: conservative is a fork of ondemand, so it applies here.
I'll try running without kqemu, and see if I still have the problem.
-Kyle
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-28 0:22 ` andrzej zaborowski
2007-03-28 0:29 ` Paul Brook
@ 2007-03-28 17:30 ` Kyle Hubert
1 sibling, 0 replies; 9+ messages in thread
From: Kyle Hubert @ 2007-03-28 17:30 UTC (permalink / raw)
To: balrogg, qemu-devel
On 3/27/07, andrzej zaborowski <balrog@zabor.org> wrote:
> On 28/03/07, Kyle Hubert <khubert@gmail.com> wrote:
> > I've been looking online, but I can't say that I have found the answer
> > to this yet.
> >
> > When using QEMU, I've noticed that if I switch away to a different
> > virtual desktop on the host OS's WM, then QEMU stops what it is doing.
> > It's really clear when it's in the middle of a boot, but it always
> > occurs. This causes havoc since I'm using qemu as an ssh client and
> > the server I'm connecting to drops me for inactivity. This doesn't
> > matter if I use keepalive or not.
>
> Just confirming that I'm seeing the same thing, and it's not a recent
> problem because I remember it happening in 0.7.2 and earlier.
Just to let you and the list know, I downgraded to a 32bit kernel and
it seems to have sorted itself out. Are you running on x86_64?
-Kyle
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-28 1:53 ` Rick Vernam
@ 2007-03-28 17:34 ` Rick Vernam
2007-03-28 17:43 ` Kyle Hubert
0 siblings, 1 reply; 9+ messages in thread
From: Rick Vernam @ 2007-03-28 17:34 UTC (permalink / raw)
To: qemu-devel
On Tuesday 27 March 2007 08:53:42 pm Rick Vernam wrote:
> On Tuesday 27 March 2007 06:34:04 pm Kyle Hubert wrote:
> > I've been looking online, but I can't say that I have found the answer
> > to this yet.
> >
> > When using QEMU, I've noticed that if I switch away to a different
> > virtual desktop on the host OS's WM, then QEMU stops what it is doing.
> > It's really clear when it's in the middle of a boot, but it always
> > occurs. This causes havoc since I'm using qemu as an ssh client and
> > the server I'm connecting to drops me for inactivity. This doesn't
> > matter if I use keepalive or not.
>
> I can say that I do not get this behavior.
> Host OS is linux, no-frills Xorg, KDE.
> I start up one of my VMs and switch to different desktop...a minute or so
> later I'm able to ssh to that VM - after starting it, I never even visited
> the desktop it's on.
fwiw, I run 64-bit (host) kernel. all guest stuff is 32 bit.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] virtual machine halting and loosing connections
2007-03-28 17:34 ` Rick Vernam
@ 2007-03-28 17:43 ` Kyle Hubert
0 siblings, 0 replies; 9+ messages in thread
From: Kyle Hubert @ 2007-03-28 17:43 UTC (permalink / raw)
To: qemu-devel
On 3/28/07, Rick Vernam <rickv@hobi.com> wrote:
> On Tuesday 27 March 2007 08:53:42 pm Rick Vernam wrote:
> > On Tuesday 27 March 2007 06:34:04 pm Kyle Hubert wrote:
> > > I've been looking online, but I can't say that I have found the answer
> > > to this yet.
> > >
> > > When using QEMU, I've noticed that if I switch away to a different
> > > virtual desktop on the host OS's WM, then QEMU stops what it is doing.
> > > It's really clear when it's in the middle of a boot, but it always
> > > occurs. This causes havoc since I'm using qemu as an ssh client and
> > > the server I'm connecting to drops me for inactivity. This doesn't
> > > matter if I use keepalive or not.
> >
> > I can say that I do not get this behavior.
> > Host OS is linux, no-frills Xorg, KDE.
> > I start up one of my VMs and switch to different desktop...a minute or so
> > later I'm able to ssh to that VM - after starting it, I never even visited
> > the desktop it's on.
>
> fwiw, I run 64-bit (host) kernel. all guest stuff is 32 bit.
Thanks, I should specify that I am now running the same configuration,
and I no longer have dropouts. Under 64bit(host) and 64bit(guest), I
had the hanging. I don't understand why, since it had happened during
boot, runtime, or shutdown.
-Kyle
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-03-28 17:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 23:34 [Qemu-devel] virtual machine halting and loosing connections Kyle Hubert
2007-03-28 0:22 ` andrzej zaborowski
2007-03-28 0:29 ` Paul Brook
2007-03-28 17:30 ` Kyle Hubert
2007-03-28 1:53 ` Rick Vernam
2007-03-28 17:34 ` Rick Vernam
2007-03-28 17:43 ` Kyle Hubert
2007-03-28 14:21 ` WaxDragon
2007-03-28 17:28 ` Kyle Hubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).