All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com
Subject: [Qemu-devel] aarch64: -device virtio-scsi-device, id=scsi: No 'virtio-bus' bus found for device 'virtio-scsi-device'
Date: Tue, 25 Mar 2014 13:30:01 +0000	[thread overview]
Message-ID: <20140325133001.GA31003@redhat.com> (raw)

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'
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
qemu-system-aarch64: -device virtio-scsi-device,id=scsi: No 'virtio-bus' bus found for device 'virtio-scsi-device'

qemu: Upstream from git yesterday
kernel: 3.13.0-0.rc7
Hardware: real aarch64(!)

I also tried adding `-device virtio-bus' to the command line, but that
just changes the error message to:

qemu-system-aarch64: -device virtio-bus: 'virtio-bus' is not a valid device model name

Also:

$ ~/d/qemu/aarch64-softmmu/qemu-system-aarch64 -device \? |& grep virtio
name "vhost-scsi", bus virtio-bus
name "virtio-9p-device", bus virtio-bus
name "virtio-9p-pci", bus PCI
name "virtio-blk-device", bus virtio-bus
name "virtio-blk-pci", bus PCI, alias "virtio-blk"
name "virtio-scsi-device", bus virtio-bus
name "virtio-scsi-pci", bus PCI
name "virtio-net-device", bus virtio-bus
name "virtio-net-pci", bus PCI, alias "virtio-net"
name "virtconsole", bus virtio-serial-bus
name "virtio-serial-device", bus virtio-bus
name "virtio-serial-pci", bus PCI, alias "virtio-serial"
name "virtserialport", bus virtio-serial-bus
name "virtio-balloon-device", bus virtio-bus
name "virtio-balloon-pci", bus PCI, alias "virtio-balloon"
name "virtio-rng-device", bus virtio-bus
name "virtio-rng-pci", bus PCI

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top

             reply	other threads:[~2014-03-25 15:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 13:30 Richard W.M. Jones [this message]
2014-03-25 13:53 ` [Qemu-devel] aarch64: -device virtio-scsi-device, id=scsi: No 'virtio-bus' bus found for device 'virtio-scsi-device' Paolo Bonzini
2014-03-25 14:04   ` Peter Maydell
2014-03-25 14:13     ` Paolo Bonzini
2014-03-25 18:59       ` Peter Maydell
2014-03-26  9:51         ` Paolo Bonzini
2014-03-26 10:36           ` Peter Maydell
2014-03-25 14:17   ` Richard W.M. Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140325133001.GA31003@redhat.com \
    --to=rjones@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.