From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSSAv-0005XU-9J for qemu-devel@nongnu.org; Tue, 25 Mar 2014 10:18:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSSAq-0005Vk-D3 for qemu-devel@nongnu.org; Tue, 25 Mar 2014 10:17:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSSAq-0005V0-4Z for qemu-devel@nongnu.org; Tue, 25 Mar 2014 10:17:52 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2PEHmtf006146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 25 Mar 2014 10:17:49 -0400 Date: Tue, 25 Mar 2014 14:17:40 +0000 From: "Richard W.M. Jones" Message-ID: <20140325141740.GB31003@redhat.com> References: <20140325133001.GA31003@redhat.com> <53318A4F.7040203@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53318A4F.7040203@redhat.com> Subject: Re: [Qemu-devel] aarch64: -device virtio-scsi-device, id=scsi: No 'virtio-bus' bus found for device 'virtio-scsi-device' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Tue, Mar 25, 2014 at 02:53:19PM +0100, Paolo Bonzini wrote: > Il 25/03/2014 14:30, Richard W.M. Jones ha scritto: > >Does anyone have any thoughts on what I'm missing / doing wrong here? > > > >[00616ms] /home/remote/rjones/d/qemu/aarch64-softmmu/qemu-system-aarch64 \ > > -global virtio-blk-device.scsi=off \ > > -nodefconfig \ > > -enable-fips \ > > -nodefaults \ > > -display none \ > > -machine accel=kvm:tcg \ > > -m 500 \ > > -no-reboot \ > > -rtc driftfix=slew \ > > -global kvm-pit.lost_tick_policy=discard \ > > -kernel /discer.farm/home/remote/rjones/d/libguestfs/tmp/.guestfs-11538/appliance.d/kernel \ > > -initrd /discer.farm/home/remote/rjones/d/libguestfs/tmp/.guestfs-11538/appliance.d/initrd \ > > -device virtio-scsi-device,id=scsi \ > > -drive file=/discer.farm/home/remote/rjones/d/libguestfs/tmp/libguestfsueW63b/scratch.1,cache=unsafe,format=raw,id=hd0,if=none \ > > -device scsi-hd,drive=hd0 \ > > -drive file=/discer.farm/home/remote/rjones/d/libguestfs/tmp/.guestfs-11538/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none \ > > -device scsi-hd,drive=appliance \ > > -device virtio-serial-device \ > > -serial stdio \ > > -chardev socket,path=/discer.farm/home/remote/rjones/d/libguestfs/tmp/libguestfsueW63b/guestfsd.sock,id=channel0 \ > > -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ > > -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check lpj=500000 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen' > > Probably you're missing "-M" (such as "-M virt")? Ah, I see. Using this gets past that error, thanks. I was suffering some temporary confusion about -M, device trees etc on aarch64 :-( Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v