Skip to contentSkip to conversation

guest AND host rebooting

DISCUSSION user01 2 participants 5 messages Dec 16, 2006 – Dec 17, 2006 5 messages not in the archive KVM

lore
Share & tools
lore

user01

author
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): 20061216191002.60f35c07.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org

#2 lore raw
Quoted 12 lines · 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?

Signature · 8 lines
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

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 458559E0.6050302-atKUWr5tajBWk0Htik3J/[email protected]

author
#6 lore raw

hi

Quoted 11 lines · On Sun, 17 Dec 2006 16:53:20 +0200 Avi Kivity…
Quoted 5 lines
Quoted 2 lines

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

author
#7 lore raw
In reply to a message not in the archive

(Resend, as "kvm-devel-TtF/[email protected]" does not seem to get forwarded)
----- SNIP ----
hi

Quoted 11 lines · On Sun, 17 Dec 2006 16:53:20 +0200 Avi Kivity…
Quoted 5 lines
Quoted 2 lines

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

A message that is not in the archive (sent off-list or not yet received): 20061217183657.f1bba9dd.user01-Nyd6Q+os938hFhg+JK9F0w@public.gmane.org

#9 lore raw
Quoted 24 lines · user01 wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Can you set up a serial console and capture dmesg?

Quoted 9 lines
Quoted 3 lines

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.

Quoted 9 lines

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.

Signature · 8 lines
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