This is the output of journalctl -u libvirtd. My computer was turned off
when I got home after work, so these logs are the ones that I got as
soon as I turned my machine on and ran my Windows VM:

-- Reboot --
Oct 25 16:49:21 brian-pc systemd[1]: Starting Virtualization daemon...
Oct 25 16:49:22 brian-pc libvirtd[1851]: libvirt version: 5.4.0, package: 
0ubuntu5 (Matthias Klose <d...@ubuntu.com> Thu, 05 Sep 2019 11:00:53 +0000)
Oct 25 16:49:22 brian-pc libvirtd[1851]: hostname: brian-pc
Oct 25 16:49:22 brian-pc libvirtd[1851]: Libvirt doesn't support VirtualBox API 
version 6000014
Oct 25 16:49:22 brian-pc systemd[1]: Started Virtualization daemon.
Oct 25 16:49:22 brian-pc dnsmasq[2102]: started, version 2.80 cachesize 150
Oct 25 16:49:22 brian-pc dnsmasq[2102]: compile time options: IPv6 GNU-getopt 
DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect 
inotify dumpfile
Oct 25 16:49:22 brian-pc dnsmasq-dhcp[2102]: DHCP, IP range 192.168.122.2 -- 
192.168.122.254, lease time 1h
Oct 25 16:49:22 brian-pc dnsmasq-dhcp[2102]: DHCP, sockets bound exclusively to 
interface virbr0
Oct 25 16:49:22 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:22 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:22 brian-pc dnsmasq[2102]: read /etc/hosts - 3 addresses
Oct 25 16:49:22 brian-pc dnsmasq[2102]: read 
/var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Oct 25 16:49:22 brian-pc dnsmasq-dhcp[2102]: read 
/var/lib/libvirt/dnsmasq/default.hostsfile
Oct 25 16:49:22 brian-pc libvirtd[1851]: cannot open directory 
'/home/brian/.seconddrive/virtualmachines/isos': No such file or directory
Oct 25 16:49:22 brian-pc libvirtd[1851]: internal error: Failed to autostart 
storage pool 'isos': cannot open directory 
'/home/brian/.seconddrive/virtualmachines/isos': No such file or directory
Oct 25 16:49:22 brian-pc libvirtd[1851]: cannot open directory 
'/home/brian/.seconddrive/virtualmachines': No such file or directory
Oct 25 16:49:22 brian-pc libvirtd[1851]: internal error: Failed to autostart 
storage pool 'virtualmachines': cannot open directory 
'/home/brian/.seconddrive/virtualmachines': No such file or directory
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:49:25 brian-pc dnsmasq[2102]: reading /etc/resolv.conf
Oct 25 16:49:25 brian-pc dnsmasq[2102]: using nameserver 127.0.0.53#53
Oct 25 16:53:08 brian-pc libvirtd[1851]: operation failed: pool 'default' 
already exists with uuid 5a9c5795-0e71-4aa6-915c-ebed3f9b3ca8
-- Reboot --
Oct 25 16:56:32 brian-pc systemd[1]: Starting Virtualization daemon...
Oct 25 16:56:32 brian-pc libvirtd[1765]: libvirt version: 5.4.0, package: 
0ubuntu5 (Matthias Klose <d...@ubuntu.com> Thu, 05 Sep 2019 11:00:53 +0000)
Oct 25 16:56:32 brian-pc libvirtd[1765]: hostname: brian-pc
Oct 25 16:56:32 brian-pc libvirtd[1765]: Libvirt doesn't support VirtualBox API 
version 6000014
Oct 25 16:56:32 brian-pc systemd[1]: Started Virtualization daemon.
Oct 25 16:56:33 brian-pc dnsmasq[2036]: started, version 2.80 cachesize 150
Oct 25 16:56:33 brian-pc dnsmasq[2036]: compile time options: IPv6 GNU-getopt 
DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect 
inotify dumpfile
Oct 25 16:56:33 brian-pc dnsmasq-dhcp[2036]: DHCP, IP range 192.168.122.2 -- 
192.168.122.254, lease time 1h
Oct 25 16:56:33 brian-pc dnsmasq-dhcp[2036]: DHCP, sockets bound exclusively to 
interface virbr0
Oct 25 16:56:33 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:33 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:33 brian-pc dnsmasq[2036]: read /etc/hosts - 3 addresses
Oct 25 16:56:33 brian-pc dnsmasq[2036]: read 
/var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Oct 25 16:56:33 brian-pc dnsmasq-dhcp[2036]: read 
/var/lib/libvirt/dnsmasq/default.hostsfile
Oct 25 16:56:33 brian-pc libvirtd[1765]: cannot open directory 
'/home/brian/.seconddrive/virtualmachines/isos': No such file or directory
Oct 25 16:56:33 brian-pc libvirtd[1765]: internal error: Failed to autostart 
storage pool 'isos': cannot open directory 
'/home/brian/.seconddrive/virtualmachines/isos': No such file or directory
Oct 25 16:56:33 brian-pc libvirtd[1765]: cannot open directory 
'/home/brian/.seconddrive/virtualmachines': No such file or directory
Oct 25 16:56:33 brian-pc libvirtd[1765]: internal error: Failed to autostart 
storage pool 'virtualmachines': cannot open directory 
'/home/brian/.seconddrive/virtualmachines': No such file or directory
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:56:36 brian-pc dnsmasq[2036]: reading /etc/resolv.conf
Oct 25 16:56:36 brian-pc dnsmasq[2036]: using nameserver 127.0.0.53#53
Oct 25 16:57:30 brian-pc libvirtd[1765]: operation failed: pool 'default' 
already exists with uuid 5a9c5795-0e71-4aa6-915c-ebed3f9b3ca8

// ------------------------------------------------------------------

The XML file for my NIC device I pulled from Virtual Machine Manager:

<interface type="network">
  <mac address="52:54:00:3d:3f:d5"/>
  <source network="default"/>
  <model type="e1000e"/>
  <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>

// ------------------------------------------------------------------

For whatever reason, the log file wasn't updated on 25OCT2019 when I
started up my VM again. This is the most recent log:

2019-10-23 03:00:19.841+0000: starting up libvirt version: 5.4.0, package: 
0ubuntu5 (Matthias Klose <d...@ubuntu.com> Thu, 05 Sep 2019 11:00:53 +0000), 
qemu version: 4.0.0Debian 1:4.0+dfsg-0ubuntu9, kernel: 5.3.0-19-generic, 
hostname: brian-pc.home
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \
HOME=/var/lib/libvirt/qemu/domain-3-win10 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-3-win10/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-3-win10/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-3-win10/.config \
QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name guest=win10,debug-threads=on \
-S \
-object 
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-3-win10/master-key.aes
 \
-machine pc-q35-3.1,accel=kvm,usb=off,vmport=off,dump-guest-core=off \
-cpu 
Skylake-Client-IBRS,ss=on,vmx=on,hypervisor=on,tsc_adjust=on,clflushopt=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,pdpe1gb=on,skip-l1dfl-vmentry=on,hle=off,rtm=off,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff
 \
-m 6000 \
-overcommit mem-lock=off \
-smp 6,sockets=6,cores=1,threads=1 \
-uuid 556aee82-2888-4958-a5fb-a46cb463aaa9 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=24,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device 
pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2
 \
-device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 \
-device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \
-device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
-device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.4,addr=0x0 \
-drive 
file=/home/brian/.seconddrive/windows10/WindowsVM.img,format=qcow2,if=none,id=drive-sata0-0-0
 \
-device ide-hd,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=1 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
 \
-spice 
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
 \
-device 
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x1
 \
-device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.3,addr=0x0 \
-sandbox 
on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
2019-10-23T03:01:14.664402Z qemu-system-x86_64: terminating on signal 15 from 
pid 1899 (/usr/sbin/libvirtd)
2019-10-23 03:01:14.866+0000: shutting down, reason=shutdown

//
----------------------------------------------------------------------------

virsh dumpxml output:

<domain type='kvm'>
  <name>win10</name>
  <uuid>556aee82-2888-4958-a5fb-a46cb463aaa9</uuid>
  <metadata>
    <libosinfo:libosinfo 
xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0";>
      <libosinfo:os id="http://microsoft.com/win/10"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory unit='KiB'>6144000</memory>
  <currentMemory unit='KiB'>6144000</currentMemory>
  <vcpu placement='static'>6</vcpu>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
    </hyperv>
    <vmport state='off'/>
  </features>
  <cpu mode='host-model' check='partial'>
    <model fallback='allow'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
    <timer name='hypervclock' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/home/brian/.seconddrive/windows10/WindowsVM.img'/>
      <target dev='sda' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0' model='qemu-xhci' ports='15'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' 
function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' 
function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' 
multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' 
function='0x0'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:00:3d:3f:d5'/>
      <source network='default'/>
      <model type='e1000e'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' 
function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='spice' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
      <image compression='off'/>
      <gl enable='no' rendernode='/dev/dri/by-path/pci-0000:01:00.0-render'/>
    </graphics>
    <sound model='ich9'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' 
function='0x0'/>
    </sound>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' 
primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' 
function='0x0'/>
    </memballoon>
  </devices>
</domain>


// -----------------------------------------------------------------------------

I'll keep looking for more crash reports in the logs, but this is what I
have right now. As an aside, I have a clone of this VM and deleted the
networking device and have no issue running it. Everything works as
expected. Additionally, the second disk '~/.seconddrive/' is where the
VM has always lived. It worked fine in 19.04 but obviously there are
issues now in 19.10.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849720

Title:
  Running VM with Virtual NIC Crashes Host OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1849720/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to