From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7sE3-0008Rt-Sj for qemu-devel@nongnu.org; Fri, 18 Nov 2016 18:05:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7sDy-0002h0-Ls for qemu-devel@nongnu.org; Fri, 18 Nov 2016 18:05:43 -0500 Received: from indium.canonical.com ([91.189.90.7]:39338) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7sDy-0002gI-7X for qemu-devel@nongnu.org; Fri, 18 Nov 2016 18:05:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1c7sDv-0002Tm-VC for ; Fri, 18 Nov 2016 23:05:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E7FBB2E80C6 for ; Fri, 18 Nov 2016 23:05:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 18 Nov 2016 22:52:49 -0000 From: PabloSaenz Reply-To: Bug 1594239 <1594239@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160620032122.2878.51451.malonedeb@chaenomeles.canonical.com> Message-Id: <20161118225249.8033.49410.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1594239] Re: After adding more scsi disks for Aarch64 virtual machine, start the VM and got Qemu Error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I=E2=80=99m sorry to post as a newbie here. I just want to confirm the bug described above by Kevin Zhao. At least that=E2=80=99s what it sounds like = to me. I had a perfectly working VM on Qemu/KVM, with the VirtManager hypervisor, which I have *only* to be able to access an Audigy pci card from Windows XP. After I added a /dev/sbd disk as a device, the VM wouldn=E2=80=99t boot and even froze my system. Then I disconnected the disk from the VM, and now, though it doesn=E2=80=99t crash or freeze, I still ca= n=E2=80=99t get into the VM, and I get the error message below: =C2=ABError starting domain: internal error: process exited while connecting to monitor: 2016-11-18T22:45:31.643085Z qemu-system-x86_64: -drive file=3D/home/[folder]/[folder]/VWinXP.raw,format=3Draw,if=3Dnone,id=3Ddrive- ide0-0-0: Could not open '/home/[folder]/[folder]/VWinXP.raw': Permission denied=C2=BB I have changing permissions for the .raw file, but =E2=88=92intriguinly, fo= r a newbie like me=E2=88=92 everytime I try to open the VM, the permissions are changed automatically back to: Owner =3D Libvirt Qemu Group =3D kvm I know this is not a help forum, but I would be grateful for some feedback. Been trying to fix this non-stop for the last two days. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1594239 Title: After adding more scsi disks for Aarch64 virtual machine, start the VM and got Qemu Error Status in QEMU: Fix Released Bug description: Description =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Using virt-manager to create a VM in Aarch64, Ubuntu 16.04. Add scsi disk to the VM. After add four or more scsi disks, start the VM = and will got Qemu error. Steps to reproduce =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1.Use virt-manager to create a VM. 2.After the VM is started, add scsi disk to the VM. They will be allocate= d to "sdb,sdc,sdd....." . 3.If we got a disk name > sdg, virt-manager will also assign a virtio-scs= i controller for this disk.And the VM will be shutdown. 4.Start the VM, will see the error log. = Expected result =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Start the vm smoothly.The added disks can work. Actual result =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Got the error: starting domain: internal error: process exited while connecting to monit= or: qemu-system-aarch64: /build/qemu-zxCwKP/qemu-2.5+dfsg/migration/savevm.= c:620: vmstate_register_with_alias_id: Assertion `!se->compat || se->instan= ce_id =3D=3D 0' failed. details=3DTraceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in cb_= wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 126, in tm= pcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, i= n newfn ret =3D fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1402, in sta= rtup self._backend.create() File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1035, in= create if ret =3D=3D -1: raise libvirtError ('virDomainCreate() failed', dom= =3Dself) libvirtError: internal error: process exited while connecting to monitor:= qemu-system-aarch64: /build/qemu-zxCwKP/qemu-2.5+dfsg/migration/savevm.c:6= 20: vmstate_register_with_alias_id: Assertion `!se->compat || se->instance_= id =3D=3D 0' failed. = Environment =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1. virt-manager version is 1.3.2 2. Which hypervisor did you use? Libvirt+KVM $ kvm --version QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.1), Copyrigh= t (c) 2003-2008 Fabrice Bellard $ libvirtd --version libvirtd (libvirt) 1.3.1 3. Which storage type did you use? In the host file system,all in one physics machine. stack@u202154:/opt/stack/nova$ df -hl Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 61M 1.6G 4% /run /dev/sda2 917G 41G 830G 5% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/sda1 511M 888K 511M 1% /boot/efi cgmfs 100K 0 100K 0% /run/cgmanager/fs tmpfs 1.6G 0 1.6G 0% /run/user/1002 tmpfs 1.6G 0 1.6G 0% /run/user/1000 tmpfs 1.6G 0 1.6G 0% /run/user/0 4. Environment information: Architecture : AARCH64 OS: Ubuntu 16.04 The Qemu commmand of libvirt is : 2016-06-20 02:39:46.561+0000: starting up libvirt version: 1.3.1, package= : 1ubuntu10 (William Grant Fri, 15 Apr 2016 12:08:21 +1= 000), qemu version: 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.1), hostname: u202154 LC_ALL=3DC PATH=3D/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin= :/bin QEMU_AUDIO_DRV=3Dnone /usr/bin/kvm -name cent7 -S -machine virt,accel= =3Dkvm,usb=3Doff -cpu host -drive file=3D/usr/share/edk2.git/aarch64/QEMU_E= FI-pflash.raw,if=3Dpflash,format=3Draw,unit=3D0,readonly=3Don -drive file= =3D/var/lib/libvirt/qemu/nvram/cent7_VARS.fd,if=3Dpflash,format=3Draw,unit= =3D1 -m 2048 -realtime mlock=3Doff -smp 2,sockets=3D2,cores=3D1,threads=3D1= -uuid d5462bb6-159e-4dbd-9266-bf8c07fa1695 -nographic -no-user-config -nod= efaults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domai= n-cent7/monitor.sock,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,= mode=3Dcontrol -rtc base=3Dutc -no-shutdown -boot strict=3Don -device i8280= 1b11-bridge,id=3Dpci.1,bus=3Dpcie.0,addr=3D0x1 -device pci-bridge,chassis_n= r=3D2,id=3Dpci.2,bus=3Dpci.1,addr=3D0x1 -device virtio-scsi-device,id=3Dscs= i0 -device lsi,id=3Dscsi1 -device lsi,id=3Dscsi2 -device virtio-scsi-device= ,id=3Dscsi3 -usb -drive file=3D/var/lib/libvirt/images/cent7-2.img,format= =3Dqcow2,if=3Dnone,id=3Ddrive-scsi0-0-0-0 -device scsi-hd,bus=3Dscsi0.0,cha= nnel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,boo= tindex=3D1 -drive if=3Dnone,id=3Ddrive-scsi0-0-0-1,readonly=3Don -device sc= si-cd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D1,drive=3Ddrive-scsi0-0-0= -1,id=3Dscsi0-0-0-1 -drive file=3D/var/lib/libvirt/images/cent7-10.img,form= at=3Dqcow2,if=3Dnone,id=3Ddrive-scsi0-0-0-2 -device scsi-hd,bus=3Dscsi0.0,c= hannel=3D0,scsi-id=3D0,lun=3D2,drive=3Ddrive-scsi0-0-0-2,id=3Dscsi0-0-0-2 -= drive file=3D/var/lib/libvirt/images/cent7-11.img,format=3Dqcow2,if=3Dnone,= id=3Ddrive-scsi0-0-0-3 -device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D= 0,lun=3D3,drive=3Ddrive-scsi0-0-0-3,id=3Dscsi0-0-0-3 -drive file=3D/var/lib= /libvirt/images/cent7-13.img,format=3Dqcow2,if=3Dnone,id=3Ddrive-scsi3-0-0-= 0 -device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddri= ve-scsi3-0-0-0,id=3Dscsi3-0-0-0 -netdev tap,fd=3D33,id=3Dhostnet0,vhost=3Do= n,vhostfd=3D35 -device virtio-net-device,netdev=3Dhostnet0,id=3Dnet0,mac=3D= 52:54:00:a1:6e:75 -serial pty -msg timestamp=3Don Domain id=3D11 is tainted: host-cpu The libvirt xml is: cent7 d5462bb6-159e-4dbd-9266-bf8c07fa1695 2097152 2097152 2 hvm /usr/share/edk2.git/aarch64/= QEMU_EFI-pflash.raw /var/lib/libvirt/qemu/nvram/cent7_VARS.fd destroy restart restart /usr/bin/kvm
To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1594239/+subscriptions