I've installed a fresh copy of ubuntu 20.04 ; I have upgraded it to 20.10 ; I have installed all the relevant packages for xen,libvirt and kvm and boom : it worked.
Il giorno mer 28 ott 2020 alle ore 10:50 Stefan Bader < 1901...@bugs.launchpad.net> ha scritto: > On 27.10.20 15:36, Christian Ehrhardt wrote: > > @smb do you see anything like this in 20.10? > > > I can not remember for sure. I believe I had some guest up via libvirt. But > probably not with the final kernel. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1901398 > > Title: > Unable to configure libxl's memory management parameters > > Status in libvirt package in Ubuntu: > New > > Bug description: > Hello. > > Yesterday I've upgraded ubuntu 20.04 to 20.10 and I have soon realized > that libvirt stopped working with xen. Xen itself works ok for me,as u > can see : > > root@ziomario-z390aoruspro:/etc/xen# xl list > Name ID Mem VCPUs State Time(s) > Domain-0 0 32065 16 r----- > 435.8 > > but it does not with libvirt : > > root@ziomario-z390aoruspro:/etc/xen# virsh pool-list --all > error: failed to connect to the hypervisor > error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': > Connection denied > > this is what happens when I query for the status : > > root@ziomario-z390aoruspro:/etc/xen# sudo systemctl status > libvirtd.service > ● libvirtd.service - Virtualization daemon > Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; > vendor preset: enabled) > Active: inactive (dead) since Sun 2020-10-25 12:11:43 CET; 41s ago > TriggeredBy: ● libvirtd.socket > ● libvirtd-ro.socket > ● libvirtd-admin.socket > Docs: man:libvirtd(8) > https://libvirt.org > Process: 4283 ExecStart=/usr/sbin/libvirtd $libvirtd_opts > (code=exited, status=0/SUCCESS) > Main PID: 4283 (code=exited, status=0/SUCCESS) > Tasks: 2 (limit: 32768) > Memory: 28.2M > CGroup: /system.slice/libvirtd.service > ├─1577 /usr/sbin/dnsmasq > --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro > --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper > └─1578 /usr/sbin/dnsmasq > --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro > --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper > > ott 25 12:11:43 ziomario-z390aoruspro dnsmasq[1577]: read > /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses > ott 25 12:11:43 ziomario-z390aoruspro dnsmasq-dhcp[1577]: read > /var/lib/libvirt/dnsmasq/default.hostsfile > ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: libvirt version: > 6.6.0, package: 1ubuntu3 (Christian Ehrhardt < > christian.ehrha...@canonical.com> Thu, 08 Oct 2020 07:3> > ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: hostname: > ziomario-z390aoruspro > ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: Unable to > configure libxl's memory management parameters > ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: Initialization of > Xen state driver failed: no error > ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: Driver state > initialization failed > ott 25 12:11:43 ziomario-z390aoruspro systemd[1]: libvirtd.service: > Succeeded. > ott 25 12:11:43 ziomario-z390aoruspro systemd[1]: libvirtd.service: Unit > process 1577 (dnsmasq) remains running after unit stopped. > ott 25 12:11:43 ziomario-z390aoruspro systemd[1]: libvirtd.service: Unit > process 1578 (dnsmasq) remains running after unit stopped. > > > if xen works without libvirt AND it does not work with Libvirt,it is a > bug of libvirt. I dind't see this behavior with ubuntu 20.04 ; so it is a > bug of ubuntu 20.10. do u want to give a look ? > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1901398/+subscriptions > -- Mario. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901398 Title: Unable to configure libxl's memory management parameters To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1901398/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs