From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: smp bug in kvm-69 Date: Mon, 09 Jun 2008 19:26:54 +0300 Message-ID: <484D59CE.7050301@qumranet.com> References: <483D4000.9030907@bppiac.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Farkas Levente Return-path: Received: from il.qumranet.com ([212.179.150.194]:15291 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199AbYFIQ0s (ORCPT ); Mon, 9 Jun 2008 12:26:48 -0400 In-Reply-To: <483D4000.9030907@bppiac.hu> Sender: kvm-owner@vger.kernel.org List-ID: Farkas Levente wrote: > hi, > we just noticed that while we run a guest with 4vcpu (the host has 4 > core): > ----------------------------------------- > 3278 ? Sl 2138:49 /usr/bin/qemu-kvm -M pc -m 2048 -smp 4 > -monitor pty -boot c -hda /dev/VolGroup00/centos-i386-root -hdb > /dev/VolGroup00/centos-i386-swap -hdc /dev/md2 -net > nic,macaddr=00:16:3e:58:66:7b,vlan=0 -net > tap,fd=11,script=,vlan=0,ifname=vnet0 -usb -usbdevice tablet -vnc > 127.0.0.1:0 > ----------------------------------------- > the guest only see 3 cpu?: > ----------------------------------------- Does this happen every time? Is the host loaded when you start the guest with some other task? It may be that there is some guest timeout during startup which causes the cpu to go missing. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.