From: "Gábor Boskovits" <boskovits@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: "guix system vm" to libvirt XML domain
Date: Thu, 24 Jan 2019 21:01:01 +0100 [thread overview]
Message-ID: <CAE4v=pgvwU+u8YU4+fKYYOw=OPxCB0Zx+zHfABSg-KTrrG7qrQ@mail.gmail.com> (raw)
In-Reply-To: <87lg39c1ws.fsf@roquette.mug.biscuolo.net>
Hello,
Giovanni Biscuolo <g@xelera.eu> ezt írta (időpont: 2019. jan. 24., Cs, 20:05):
>
> Hi,
>
> reply to myself:
>
> Giovanni Biscuolo <g@xelera.eu> 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 backtrace
> > 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 #<undefined>)
> > --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---
> <disk type='file' device='disk'>
> <driver name='qemu' type='qcow2' cache='writeback' error_policy='report'/>
> <source file='/gnu/store/4mz1qqv7h5g5885q1aq0izlmy01knf1g-qemu-image'/>
> <target dev='vda' bus='virtio'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
> </disk>
> --8<---------------cut here---------------end--------------->8---
>
> type='raw' changed to type='qcow2'
>
> but now I've a problem with the /gnu/store mount in guest
>
> "9pnet_virtio: no channels available for device TAGjoptajej2oynju6yvboauz7pl6uj"
>
> ...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.
next prev parent reply other threads:[~2019-01-24 20:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-24 18:18 "guix system vm" to libvirt XML domain Giovanni Biscuolo
2019-01-24 19:04 ` Giovanni Biscuolo
2019-01-24 20:01 ` Gábor Boskovits [this message]
2019-01-25 11:21 ` Giovanni Biscuolo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE4v=pgvwU+u8YU4+fKYYOw=OPxCB0Zx+zHfABSg-KTrrG7qrQ@mail.gmail.com' \
--to=boskovits@gmail.com \
--cc=g@xelera.eu \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).