Virt-Manager / Qemu

Fragen und Support zur Virtualisierung......
Antworten

Themen Author
sanyam
Neues Foren Mitglied
Neues Foren Mitglied
Beiträge: 29
Registriert: Freitag 17. November 2017, 19:53
GPU:
Kernel:
Desktop-Variante:
GPU Treiber:

Virt-Manager / Qemu

#1

Beitrag von sanyam »

Moin Leute,

anstelle von VirtualBox wollte ich mir mal KVM/Qemu/Virt-Manager anschauen und habe mich an folgende Anleitung gehalten:
https://wiki.manjaro.org/index.php?title=Virt-manager

Bekomme den libvirtd.service jedoch nicht ans laufen:

Code: Alles auswählen

● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2018-06-14 15:54:50 CEST; 4s ago
     Docs: man:libvirtd(8)
           https://libvirt.org
  Process: 25317 ExecStart=/usr/bin/libvirtd $LIBVIRTD_ARGS (code=exited, status=3)
 Main PID: 25317 (code=exited, status=3)

Jun 14 15:54:50 thinkpad systemd[1]: libvirtd.service: Service hold-off time over, scheduling restart.
Jun 14 15:54:50 thinkpad systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 5.
Jun 14 15:54:50 thinkpad systemd[1]: Stopped Virtualization daemon.
Jun 14 15:54:50 thinkpad systemd[1]: libvirtd.service: Start request repeated too quickly.
Jun 14 15:54:50 thinkpad systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Jun 14 15:54:50 thinkpad systemd[1]: Failed to start Virtualization daemon.
Hat jemand Rat, wie ich das Problem lösen könnte?

Gruß
Benutzeravatar

gosia
Forum Held
Forum Held
Beiträge: 2232
Registriert: Dienstag 24. Mai 2016, 13:33
CPU: Intel i5-3210M
GPU: Intel HD 4000
Kernel: 4.19
Desktop-Variante: Openbox
GPU Treiber: i915
Hat sich bedankt: 20 Mal
Danksagung erhalten: 495 Mal

Re: Virt-Manager / Qemu

#2

Beitrag von gosia »

Hallo sanyam,
starte nochmal den libvirtd.service und poste gleich anschliessend die Ausgabe von

Code: Alles auswählen

journalctl -xe
das bringt hoffentlich deutlichere Fehlermeldungen.

Viele Grüße gosia

PS. Da mir dein benutzter Link etwas ältlich vorkommt (2015) ist es vielleicht keine schlechte Idee, mal diese neueren Anleitungen duchzusehen:
https://wiki.archlinux.org/index.php/KVM
https://wiki.archlinux.org/index.php/QEMU
im letzteren speziell der Abschnitt "libvirt"
https://wiki.archlinux.org/index.php/QEMU#With_libvirt
und da besonders die Hinweise auf die Einstellungen für /etc/systemd/system/qemu@.service:

* According to systemd.service(5) and 5 man pages it is necessary to use the KillMode=none option. Otherwise the main qemu process will be killed immediately after the ExecStop command quits (it simply echoes one string) and your quest system will not be able to shutdown correctly.
* It is necessary to use the PIDFile option. Otherwise systemd cannot tell whether the main qemu process was terminated and your quest system will not be able to shutdown correctly. On host shutdown it will proceed without waiting for the VM to shutdown.
Zuletzt geändert von gosia am Donnerstag 14. Juni 2018, 19:10, insgesamt 1-mal geändert.
"funktioniert nicht" ist keine brauchbare Fehlermeldung...

Themen Author
sanyam
Neues Foren Mitglied
Neues Foren Mitglied
Beiträge: 29
Registriert: Freitag 17. November 2017, 19:53
GPU:
Kernel:
Desktop-Variante:
GPU Treiber:

Re: Virt-Manager / Qemu

#3

Beitrag von sanyam »

Hey Gosia,

ich danke für die Antwort. Das Alter des Tutorials war mir garnicht bewusst, habe nach Manjaro qemu gegoogelt und direkt diesen Treffer genutzt.

Ich habe mir die Links mal angeschaut und die grafische Oberfläche aqemu getestet, dort klappt alles einwandfrei. Daher hat sich das virt-manager Problem für mich eigentlich erledigt.

Themen Author
sanyam
Neues Foren Mitglied
Neues Foren Mitglied
Beiträge: 29
Registriert: Freitag 17. November 2017, 19:53
GPU:
Kernel:
Desktop-Variante:
GPU Treiber:

Re: Virt-Manager / Qemu

#4

Beitrag von sanyam »

Ich würde doch gerne wissen woran es liegen könnte :P

journalctl -xe liefert:

Code: Alles auswählen

Jun 16 13:29:11 thinkpad systemd[1]: libvirtd.service: Main process exited, code=exited, status=3/NOTIMPL>
Jun 16 13:29:11 thinkpad systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Jun 16 13:29:11 thinkpad systemd[1]: libvirtd.service: Service hold-off time over, scheduling restart.
Jun 16 13:29:11 thinkpad systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Automatic restarting of the unit libvirtd.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jun 16 13:29:11 thinkpad systemd[1]: Stopped Virtualization daemon.
-- Subject: Unit libvirtd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit libvirtd.service has finished shutting down.
Jun 16 13:29:11 thinkpad systemd[1]: libvirtd.service: Start request repeated too quickly.
Jun 16 13:29:11 thinkpad systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Jun 16 13:29:11 thinkpad systemd[1]: Failed to start Virtualization daemon.
-- Subject: Unit libvirtd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit libvirtd.service has failed.
-- 
-- The result is RESULT.
Jun 16 13:29:16 thinkpad sudo[20267]:   markus : TTY=pts/2 ; PWD=/home/markus/Downloads ; USER=root ; COM>
Jun 16 13:29:16 thinkpad sudo[20267]: pam_unix(sudo:session): session opened for user root by markus(uid=>
Jun 16 13:29:16 thinkpad sudo[20267]: pam_unix(sudo:session): session closed for user root
Antworten