Qemu share folder - 9pnet_virtio: no channels available for deviceQemu & VNC - how to use absolute...
Is there a math equivalent to the conditional ternary operator?
Ultrafilters as a double dual
Replacing tantalum capacitor with ceramic capacitor for Op Amps
PTiJ: How should animals pray?
How to make sure I'm assertive enough in contact with subordinates?
Quitting employee has privileged access to critical information
When to use the term transposed instead of modulation?
Can inspiration allow the Rogue to make a Sneak Attack?
What does "rhumatis" mean?
Is it a Cyclops number? "Nobody" knows!
Should we avoid writing fiction about historical events without extensive research?
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Is there such a thing in math the inverse of a sequence?
How do you make a gun that shoots melee weapons and/or swords?
Affine transformation of circular arc in 3D
Did Amazon pay $0 in taxes last year?
The Key to the Door
Iron deposits mined from under the city
New invention compresses matter to produce energy? or other items? (Short Story)
Is "cogitate" an appropriate word for this?
The past tense for the quoting particle って
Can a space-faring robot still function over a billion years?
Python 3.6+ function to ask for a multiple-choice answer
What's the best tool for cutting holes into duct work?
Qemu share folder - 9pnet_virtio: no channels available for device
Qemu & VNC - how to use absolute pointing deviceARM Compiled QEMU - “standard VGA not available”USB passthrough for QEMU gets error “qemu: could not add USB device”Qemu KVM Passthrough - could not add USB deviceVFIO permission issue with dGPU passthroughqemu - Could not initialize SDL(No available video device)qemu -enable-kvm *slower* than pure emulation for x86_64How to disable buffering for a LVM partition under QEMU KVMCan't I acess /dev/nbdX(qemu device) via iSCSI?How to boot a physical Linux partition with Qemu for Windows 10 X64 bit?
I try to run a qemu virtual machine having a folder shared with host. No matter what I do, I have always the same error: 9pnet_virtio: no channels available for device share
.
Host machine is under Linux.
Kernel was compiled with all 9P and virtio options enabled (https://wiki.qemu.org/Documentation/9psetup).
Here's my script to run qemu:
#! /bin/bash
HDA=archlinux.img
HDB=myHome.img
KERNEL=linux/arch/x86/boot/bzImage
if [ -n "${KDB}" ]; then
KGD_WAIT='kgdbwait'
fi
CMDLINE="root=/dev/sda1 rw vga=792 console=ttyS0 kgdboc=ttyS1 ${KGD_WAIT}"
FLAGS="--enable-kvm -s"
VIRTFS+=" --virtfs local,path=./share/,mount_tag=share,security_model=passthrough,id=share "
exec qemu-system-x86_64 ${FLAGS}
-hda "${HDA}" -hdb "${HDB}"
${VIRTFS}
-net user -net nic
-serial stdio -serial tcp::1234,server,nowait
-boot c -m 1G
-kernel "${KERNEL}" -append "${CMDLINE}"
When I mount the folder manually (https://www.linux-kvm.org/page/9p_virtio)
mkdir share_folder
mount -t 9p -o trans=virtio,version=9p2000.L share share_folder
The result is the same.
linux virtualization qemu virtio
add a comment |
I try to run a qemu virtual machine having a folder shared with host. No matter what I do, I have always the same error: 9pnet_virtio: no channels available for device share
.
Host machine is under Linux.
Kernel was compiled with all 9P and virtio options enabled (https://wiki.qemu.org/Documentation/9psetup).
Here's my script to run qemu:
#! /bin/bash
HDA=archlinux.img
HDB=myHome.img
KERNEL=linux/arch/x86/boot/bzImage
if [ -n "${KDB}" ]; then
KGD_WAIT='kgdbwait'
fi
CMDLINE="root=/dev/sda1 rw vga=792 console=ttyS0 kgdboc=ttyS1 ${KGD_WAIT}"
FLAGS="--enable-kvm -s"
VIRTFS+=" --virtfs local,path=./share/,mount_tag=share,security_model=passthrough,id=share "
exec qemu-system-x86_64 ${FLAGS}
-hda "${HDA}" -hdb "${HDB}"
${VIRTFS}
-net user -net nic
-serial stdio -serial tcp::1234,server,nowait
-boot c -m 1G
-kernel "${KERNEL}" -append "${CMDLINE}"
When I mount the folder manually (https://www.linux-kvm.org/page/9p_virtio)
mkdir share_folder
mount -t 9p -o trans=virtio,version=9p2000.L share share_folder
The result is the same.
linux virtualization qemu virtio
Here is an automated QEMU+ Buildroot setup that uses 9P successfully: github.com/cirosantilli/linux-kernel-module-cheat/tree/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Oct 13 '18 at 9:02
add a comment |
I try to run a qemu virtual machine having a folder shared with host. No matter what I do, I have always the same error: 9pnet_virtio: no channels available for device share
.
Host machine is under Linux.
Kernel was compiled with all 9P and virtio options enabled (https://wiki.qemu.org/Documentation/9psetup).
Here's my script to run qemu:
#! /bin/bash
HDA=archlinux.img
HDB=myHome.img
KERNEL=linux/arch/x86/boot/bzImage
if [ -n "${KDB}" ]; then
KGD_WAIT='kgdbwait'
fi
CMDLINE="root=/dev/sda1 rw vga=792 console=ttyS0 kgdboc=ttyS1 ${KGD_WAIT}"
FLAGS="--enable-kvm -s"
VIRTFS+=" --virtfs local,path=./share/,mount_tag=share,security_model=passthrough,id=share "
exec qemu-system-x86_64 ${FLAGS}
-hda "${HDA}" -hdb "${HDB}"
${VIRTFS}
-net user -net nic
-serial stdio -serial tcp::1234,server,nowait
-boot c -m 1G
-kernel "${KERNEL}" -append "${CMDLINE}"
When I mount the folder manually (https://www.linux-kvm.org/page/9p_virtio)
mkdir share_folder
mount -t 9p -o trans=virtio,version=9p2000.L share share_folder
The result is the same.
linux virtualization qemu virtio
I try to run a qemu virtual machine having a folder shared with host. No matter what I do, I have always the same error: 9pnet_virtio: no channels available for device share
.
Host machine is under Linux.
Kernel was compiled with all 9P and virtio options enabled (https://wiki.qemu.org/Documentation/9psetup).
Here's my script to run qemu:
#! /bin/bash
HDA=archlinux.img
HDB=myHome.img
KERNEL=linux/arch/x86/boot/bzImage
if [ -n "${KDB}" ]; then
KGD_WAIT='kgdbwait'
fi
CMDLINE="root=/dev/sda1 rw vga=792 console=ttyS0 kgdboc=ttyS1 ${KGD_WAIT}"
FLAGS="--enable-kvm -s"
VIRTFS+=" --virtfs local,path=./share/,mount_tag=share,security_model=passthrough,id=share "
exec qemu-system-x86_64 ${FLAGS}
-hda "${HDA}" -hdb "${HDB}"
${VIRTFS}
-net user -net nic
-serial stdio -serial tcp::1234,server,nowait
-boot c -m 1G
-kernel "${KERNEL}" -append "${CMDLINE}"
When I mount the folder manually (https://www.linux-kvm.org/page/9p_virtio)
mkdir share_folder
mount -t 9p -o trans=virtio,version=9p2000.L share share_folder
The result is the same.
linux virtualization qemu virtio
linux virtualization qemu virtio
asked Apr 25 '18 at 15:17
jksjks
162
162
Here is an automated QEMU+ Buildroot setup that uses 9P successfully: github.com/cirosantilli/linux-kernel-module-cheat/tree/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Oct 13 '18 at 9:02
add a comment |
Here is an automated QEMU+ Buildroot setup that uses 9P successfully: github.com/cirosantilli/linux-kernel-module-cheat/tree/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Oct 13 '18 at 9:02
Here is an automated QEMU+ Buildroot setup that uses 9P successfully: github.com/cirosantilli/linux-kernel-module-cheat/tree/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Oct 13 '18 at 9:02
Here is an automated QEMU+ Buildroot setup that uses 9P successfully: github.com/cirosantilli/linux-kernel-module-cheat/tree/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Oct 13 '18 at 9:02
add a comment |
2 Answers
2
active
oldest
votes
Resolved for me (with an ubuntu 18.04 host and 14.04 guest) by adding theses modules:
virtio_input
9pnet
9pnet_virtio
into guest file /etc/initramfs-tools/modules
.
Don't forget to upadate initramfs for your kernel(s) after add:
update-initramfs -uk <kernel|all>
New contributor
add a comment |
In my case it was failing due to missing virtio_pci module and I fixed it with:
modprobe virtio_pci
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1317119%2fqemu-share-folder-9pnet-virtio-no-channels-available-for-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Resolved for me (with an ubuntu 18.04 host and 14.04 guest) by adding theses modules:
virtio_input
9pnet
9pnet_virtio
into guest file /etc/initramfs-tools/modules
.
Don't forget to upadate initramfs for your kernel(s) after add:
update-initramfs -uk <kernel|all>
New contributor
add a comment |
Resolved for me (with an ubuntu 18.04 host and 14.04 guest) by adding theses modules:
virtio_input
9pnet
9pnet_virtio
into guest file /etc/initramfs-tools/modules
.
Don't forget to upadate initramfs for your kernel(s) after add:
update-initramfs -uk <kernel|all>
New contributor
add a comment |
Resolved for me (with an ubuntu 18.04 host and 14.04 guest) by adding theses modules:
virtio_input
9pnet
9pnet_virtio
into guest file /etc/initramfs-tools/modules
.
Don't forget to upadate initramfs for your kernel(s) after add:
update-initramfs -uk <kernel|all>
New contributor
Resolved for me (with an ubuntu 18.04 host and 14.04 guest) by adding theses modules:
virtio_input
9pnet
9pnet_virtio
into guest file /etc/initramfs-tools/modules
.
Don't forget to upadate initramfs for your kernel(s) after add:
update-initramfs -uk <kernel|all>
New contributor
New contributor
answered 21 hours ago
BatmanBatman
112
112
New contributor
New contributor
add a comment |
add a comment |
In my case it was failing due to missing virtio_pci module and I fixed it with:
modprobe virtio_pci
add a comment |
In my case it was failing due to missing virtio_pci module and I fixed it with:
modprobe virtio_pci
add a comment |
In my case it was failing due to missing virtio_pci module and I fixed it with:
modprobe virtio_pci
In my case it was failing due to missing virtio_pci module and I fixed it with:
modprobe virtio_pci
answered Sep 24 '18 at 5:37
John DoeJohn Doe
4114
4114
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1317119%2fqemu-share-folder-9pnet-virtio-no-channels-available-for-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Here is an automated QEMU+ Buildroot setup that uses 9P successfully: github.com/cirosantilli/linux-kernel-module-cheat/tree/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Oct 13 '18 at 9:02