unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64057: qemu-guest-agent-shepherd-service probably lacks (requirement '(udev))
@ 2023-06-13 14:55 Yann Dupont
  2023-06-15 22:20 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Yann Dupont @ 2023-06-13 14:55 UTC (permalink / raw)
  To: 64057

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

Hi all, we've noticed that qemu-guest-agent doesn't start reliably on 
virtual machines generated by guix system.
the log file shows the following:

2023-06-12 14:36:14 1686573373.873765: critical: error opening channel 
'/dev/virtio-ports/org.qemu.guest_agent.0': No such file or directory 
2023-06-12 14:36:14 1686573373.873779: critical: failed to create guest 
agent channel 2023-06-12 14:36:14 1686573373.873782: critical: failed to 
initialize guest agent channel

I guess the udev dependency is missing. The following patch seems to do 
the trick here:

diff --git a/gnu/services/virtualization.scm 
b/gnu/services/virtualization.scm index 2e311e3813..b1b7eafd75 100644 
--- a/gnu/services/virtualization.scm +++ 
b/gnu/services/virtualization.scm @@ -962,6 +962,7 @@ (define 
(qemu-guest-agent-shepherd-service config) (list (shepherd-service 
(provision '(qemu-guest-agent)) + (requirement '(udev)) (documentation 
"Run the QEMU guest agent.") (start #~(make-forkexec-constructor 
`(,(string-append #$qemu "/bin/qemu-ga")

Cheers,

[-- Attachment #2: Type: text/html, Size: 4251 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#64057: qemu-guest-agent-shepherd-service probably lacks (requirement '(udev))
  2023-06-13 14:55 bug#64057: qemu-guest-agent-shepherd-service probably lacks (requirement '(udev)) Yann Dupont
@ 2023-06-15 22:20 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-06-15 22:20 UTC (permalink / raw)
  To: Yann Dupont; +Cc: 64057-done

Hi,

Yann Dupont <yann.dupont@univ-nantes.fr> skribis:

> Hi all, we've noticed that qemu-guest-agent doesn't start reliably on virtual machines generated by guix system. 
> the log file shows the following:
>
> 2023-06-12 14:36:14 1686573373.873765: critical: error opening channel '/dev/virtio-ports/org.qemu.guest_agent.0': No such file or directory 2023-06-12
> 14:36:14 1686573373.873779: critical: failed to create guest agent channel 2023-06-12 14:36:14 1686573373.873782: critical: failed to initialize guest agent
> channel
>
> I guess the udev dependency is missing. The following patch seems to do the trick here: 

Thanks for the bug report and suggestion!  This is now fixed in
c27479a739cdbe89be7cb03f73a4a5230e84379d.

LUdo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-15 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13 14:55 bug#64057: qemu-guest-agent-shepherd-service probably lacks (requirement '(udev)) Yann Dupont
2023-06-15 22:20 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).