From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: "guix system vm" to libvirt XML domain Date: Thu, 24 Jan 2019 21:01:01 +0100 Message-ID: References: <87o985c41f.fsf@roquette.mug.biscuolo.net> <87lg39c1ws.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmlBk-0001PN-II for help-guix@gnu.org; Thu, 24 Jan 2019 15:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmlBi-0003CC-Gt for help-guix@gnu.org; Thu, 24 Jan 2019 15:01:24 -0500 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:42027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmlBd-00037W-Bz for help-guix@gnu.org; Thu, 24 Jan 2019 15:01:21 -0500 Received: by mail-io1-xd33.google.com with SMTP id x6so5802843ioa.9 for ; Thu, 24 Jan 2019 12:01:14 -0800 (PST) In-Reply-To: <87lg39c1ws.fsf@roquette.mug.biscuolo.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Giovanni Biscuolo Cc: help-guix Hello, Giovanni Biscuolo ezt =C3=ADrta (id=C5=91pont: 2019. jan. 24.= , Cs, 20:05): > > Hi, > > reply to myself: > > Giovanni Biscuolo writes: > > [...] > > > 7. start the VM, connect via SPICE and see the VM does not boot due to > > an error in procedure mount, falling back to the guile REPL; the backtr= ace > > is: > > > > --8<---------------cut here---------------start------------->8--- > > In gnu/build/linux-boot.scm: > > 516:13 2 (_) > > 367:8 1 (mount-root-file-system "/dev/vda1" "ext4" # _) > > In unknown file: > > 0 (mount "/dev/vda1" "/real-root" "ext4" 1 #) > > --8<---------------cut here---------------end--------------->8--- > > OK I solved this, it was "virsh domxml-from-native" that missed to detect > the correct disk type of the vda disk, so I changed this part of the XML > domain definition: > > --8<---------------cut here---------------start------------->8--- > > > > >
> > --8<---------------cut here---------------end--------------->8--- > > type=3D'raw' changed to type=3D'qcow2' > > but now I've a problem with the /gnu/store mount in guest > > "9pnet_virtio: no channels available for device TAGjoptajej2oynju6yvboauz= 7pl6uj" > > ...still missimg someting > > any hint please? > I have seen this once, and the virtio-pci kernel module was missing. When you run it from guix system vm, then what bus you have the drive on? It might be easier to replicate that version, I don't know if it is virtio, but I guess not. > Thanks! > > -- > Giovanni Biscuolo > > Xelera IT Infrastructures Best regards, g_bor p.s.: A nice interface to libvirt would be a very good idea.