public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* guest AND host rebooting
@ 2006-12-16 18:10 user01
       [not found] ` <20061216191002.60f35c07.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: user01 @ 2006-12-16 18:10 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


hi list

just started playing a little with kvm & qemu. i discovered,
that resetting the guest actually resets the host. tested
on amd/pacifica with kvm-7 (svn revision 4115) with debian
as host and an openbsd install-cd (4.0) as guest. typing
"halt" in the guests shell shuts this guest down, and then
resets the host :)
did not try other operating systems as guest, as its my
second day playing around with this setup. has anybody
else seen this behaviour?

cheers
virtual

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guest AND host rebooting
       [not found] ` <20061216191002.60f35c07.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org>
@ 2006-12-17  8:47   ` Avi Kivity
       [not found]     ` <20061217154600.896439a9.user01@kyberwelt.de>
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2006-12-17  8:47 UTC (permalink / raw)
  To: user01; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

user01 wrote:
> hi list
>
> just started playing a little with kvm & qemu. i discovered,
> that resetting the guest actually resets the host. tested
> on amd/pacifica with kvm-7 (svn revision 4115) with debian
> as host and an openbsd install-cd (4.0) as guest. typing
> "halt" in the guests shell shuts this guest down, and then
> resets the host :)
> did not try other operating systems as guest, as its my
> second day playing around with this setup. has anybody
> else seen this behaviour?
>   

I haven't been able to reproduce this with Linux.  Can you post a link 
to the guest .iso?

Was the host 32-bit or 64-bit?

Can you set up a serial console and capture dmesg?


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guest AND host rebooting
       [not found]         ` <458559E0.6050302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2006-12-17 17:07           ` user01
  2006-12-17 17:36           ` user01
  1 sibling, 0 replies; 5+ messages in thread
From: user01 @ 2006-12-17 17:07 UTC (permalink / raw)
  To: kvm-devel-TtF/mJH4Jtrk1uMJSBkQmQ

hi

On Sun, 17 Dec 2006 16:53:20 +0200
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:

> >> Can you set up a serial console and capture dmesg?
> >>     
> >
> > sure. but which machine? host or guest?
> >   
> 
> the host please.  do an
> 
>    echo 9 > /proc/sysrq-trigger
> 
> before so we get to see anything interesting.

the only output i get is after increasing /proc/sysirq-trigger:
---- SNIP ----
Debian GNU/Linux 4.0 roland ttyS0

roland login: SysRq : Changing Loglevel
Loglevel set to 9

---- SNIP ----
then nothing happens except for the host rebooting.

qemu was started with:
"/usr/local/kvm/bin/qemu -cdrom obsd-4.0/i386/cd40.iso -boot d -m 64 -vnc 2"

in case i forgot to mention:
the host runs an vanilla 2.6.19.1 build with gcc-4.1.2

is there anything, i can do, to shed some light on this? i´m not
firm in c, so my abilities are somewhat limited *sigh*

regards
virtual

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guest AND host rebooting
       [not found]         ` <458559E0.6050302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  2006-12-17 17:07           ` user01
@ 2006-12-17 17:36           ` user01
       [not found]             ` <20061217183657.f1bba9dd.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: user01 @ 2006-12-17 17:36 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


(Resend, as "kvm-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org" does not seem to get
forwarded)
----- SNIP ----
hi

On Sun, 17 Dec 2006 16:53:20 +0200
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:

> >> Can you set up a serial console and capture dmesg?
> >>     
> >
> > sure. but which machine? host or guest?
> >   
> 
> the host please.  do an
> 
>    echo 9 > /proc/sysrq-trigger
> 
> before so we get to see anything interesting.

the only output i get is after increasing /proc/sysirq-trigger:
---- SNIP ----
Debian GNU/Linux 4.0 roland ttyS0

roland login: SysRq : Changing Loglevel
Loglevel set to 9

---- SNIP ----
then nothing happens except for the host rebooting.

qemu was started with:
"/usr/local/kvm/bin/qemu -cdrom obsd-4.0/i386/cd40.iso -boot d -m 64 -vnc 2"

in case i forgot to mention:
the host runs an vanilla 2.6.19.1 build with gcc-4.1.2

is there anything, i can do, to shed some light on this? i´m not
firm in c, so my abilities are somewhat limited *sigh*

regards
virtual

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guest AND host rebooting
       [not found]             ` <20061217183657.f1bba9dd.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org>
@ 2006-12-17 17:58               ` Avi Kivity
  0 siblings, 0 replies; 5+ messages in thread
From: Avi Kivity @ 2006-12-17 17:58 UTC (permalink / raw)
  To: user01-Nyd6Q+os938hFhg+JK9F0w; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

user01 wrote:
>   
>>>> Can you set up a serial console and capture dmesg?
>>>>     
>>>>         
>>> sure. but which machine? host or guest?
>>>   
>>>       
>> the host please.  do an
>>
>>    echo 9 > /proc/sysrq-trigger
>>
>> before so we get to see anything interesting.
>>     
>
> the only output i get is after increasing /proc/sysirq-trigger:
> ---- SNIP ----
> Debian GNU/Linux 4.0 roland ttyS0
>
> roland login: SysRq : Changing Loglevel
> Loglevel set to 9
>
> ---- SNIP ----
> then nothing happens except for the host rebooting.
>
> qemu was started with:
> "/usr/local/kvm/bin/qemu -cdrom obsd-4.0/i386/cd40.iso -boot d -m 64 -vnc 2"
>
> in case i forgot to mention:
> the host runs an vanilla 2.6.19.1 build with gcc-4.1.2
>
> is there anything, i can do, to shed some light on this? i´m not
> firm in c, so my abilities are somewhat limited *sigh*
>   

Okay, I'll try to reproduce this here.  Please open a bug report in 
sourceforge with all this info so I can't pretend to forget it.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-17 17:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-16 18:10 guest AND host rebooting user01
     [not found] ` <20061216191002.60f35c07.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org>
2006-12-17  8:47   ` Avi Kivity
     [not found]     ` <20061217154600.896439a9.user01@kyberwelt.de>
     [not found]       ` <458559E0.6050302@qumranet.com>
     [not found]         ` <458559E0.6050302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-12-17 17:07           ` user01
2006-12-17 17:36           ` user01
     [not found]             ` <20061217183657.f1bba9dd.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org>
2006-12-17 17:58               ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox