Received: from eggs.gnu.org ([2001:4830:134:3::10]:38419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukpnz-0000N0-Mw for qemu-devel@nongnu.org; Fri, 07 Jun 2013 02:05:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukpny-0000ZX-Av for qemu-devel@nongnu.org; Fri, 07 Jun 2013 02:05:43 -0400 Received: from mail.univention.de ([82.198.197.8]:2293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukpnx-0000ZB-Ts for qemu-devel@nongnu.org; Fri, 07 Jun 2013 02:05:42 -0400 Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 7A67E1413888 for ; Fri, 7 Jun 2013 08:05:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 6A44E14138B6 for ; Fri, 7 Jun 2013 08:05:37 +0200 (CEST) Received: from mail.univention.de ([127.0.0.1]) by localhost (slugis.knut.univention.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id abc3-DnqPnBB for ; Fri, 7 Jun 2013 08:05:37 +0200 (CEST) Received: from stave.localnet (stave.knut.univention.de [192.168.0.191]) by slugis.knut.univention.de (Postfix) with ESMTPSA id F2ED71413888 for ; Fri, 7 Jun 2013 08:05:36 +0200 (CEST) From: Philipp Hahn Date: Thu, 6 Jun 2013 17:10:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201306061710.42928.hahn@univention.de> Subject: [Qemu-devel] RFH: boot from virtio cdrom? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I'm using libvirt to manage my VMs and configured one VM to boot from a CDROM connected via virtio. This does neither work with QEMU-1.1.2 nor with QEMU-1.5; neither with SeaBIOS is 1.7.0 nor 1.7.2. /root/qemu-1.5.0+dfsg/qemu-build/x86_64-softmmu/qemu-system-x86_64 \ -M pc-1.1 \ -enable-kvm \ -m 1024 \ -smp 1,sockets=1,cores=1,threads=1 \ -name ucs31-64-xxx \ -uuid 1dae3236-23e8-c87f-ec7b-9f82060fcc72 \ -nodefconfig -nodefaults \ -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/ucs31-64-xxx.monitor,server,nowait \ -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc \ -no-shutdown \ -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \ -drive file=/var/lib/libvirt/images/ucs31-64-xxx-0.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=unsafe \ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 \ -drive file=/root/ucs-3.2-0/./virtualization/univention-kvm-virtio/virtio-win-0.1-30.iso,if=none,media=cdrom,id=drive-virtio-disk1,readonly=on,format=raw \ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,id=virtio-disk1,bootindex=1 \ -device usb-tablet,id=input0 \ -vga cirrus \ -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 \ -sdl Is this supposed to work or must a bootable CDROM use the ide bus? I ask because if this is not supposed to work, I need to modify our admin to to prevent CDROMs from being added through virtio by default; later on when Linux is installed, the CDROM works fine through virtio. Sincerely Philipp -- Philipp Hahn Open Source Software Engineer hahn@univention.de Univention GmbH be open. fon: +49 421 22 232- 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99 http://www.univention.de/