1 |
How do I mount ZFS dataset into virtual machine ?? Thanks |
2 |
|
3 |
┌─[doskanoness@gentoo] - [~] - [2021-11-27 11:06:18] |
4 |
└─[0] <> lxc start binpkgs-vps ⚡[▶▶▶▶▶▶▶▶▶▷] |
5 |
Error: Failed to start device "binpkgs": Failed to setup |
6 |
virtfs-proxy-helper for device "binpkgs": Required binary |
7 |
"virtfs-proxy-helper" couldn't be found |
8 |
Try `lxc info --show-log binpkgs-vps` for more info |
9 |
┌─[doskanoness@gentoo] - [~] - [2021-11-27 11:17:12] |
10 |
└─[1] <> lxc info --show-log binpkgs-vps ⚡[▶▶▶▶▶▶▶▶▶▷] |
11 |
Name: binpkgs-vps |
12 |
Location: none |
13 |
Remote: unix:// |
14 |
Architecture: x86_64 |
15 |
Created: 2021/11/27 20:54 UTC |
16 |
Status: Stopped |
17 |
Type: virtual-machine |
18 |
Profiles: default, gentoo |
19 |
Error: open /var/log/lxd/binpkgs-vps/qemu.log: no such file or |
20 |
directory |
21 |
┌─[doskanoness@gentoo] - [~] - [2021-11-27 11:17:19] |
22 |
└─[1] <> which virtfs-proxy-helper ⚡[▶▶▶▶▶▶▶▶▶▷] |
23 |
virtfs-proxy-helper not found |
24 |
┌─[doskanoness@gentoo] - [~] - [2021-11-27 11:07:57] |
25 |
└─[130] <> equery u qemu ⚡[▶▶▶▶▶▶▶▶▶▷] |
26 |
[ Legend : U - final flag setting for installation] |
27 |
[ : I - package is installed with flag ] |
28 |
[ Colors : set, unset ] |
29 |
* Found these USE flags for app-emulation/qemu-6.0.1-r1: |
30 |
U I |
31 |
- - accessibility : Adds support for braille |
32 |
displays using brltty |
33 |
+ - aio : Enables support for |
34 |
Linux's Async IO |
35 |
+ + alsa : Enable alsa output for |
36 |
sound emulation |
37 |
+ + bzip2 : Use the bzlib compression |
38 |
library |
39 |
+ - caps : Use Linux capabilities |
40 |
library to control privilege |
41 |
- - capstone : Enable disassembly support |
42 |
with dev-libs/capstone |
43 |
+ - curl : Support ISOs / -cdrom |
44 |
directives via HTTP or HTTPS. |
45 |
- - debug : Enable extra debug |
46 |
codepaths, like asserts and extra output. If you want to get meaningful |
47 |
backtraces see |
48 |
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces |
49 |
+ - doc : Add extra documentation |
50 |
(API, Javadoc, etc). It is recommended to enable per package instead of |
51 |
globally |
52 |
+ - fdt : Enables firmware device |
53 |
tree support |
54 |
+ - filecaps : Use Linux file |
55 |
capabilities to control privilege rather than set*id (this is orthogonal |
56 |
to USE=caps which uses capabilities at runtime e.g. libcap) |
57 |
- - fuse : Enables FUSE block device |
58 |
export |
59 |
- - glusterfs : Enables GlusterFS cluster |
60 |
fileystem via sys-cluster/glusterfs |
61 |
- - gnutls : Enable TLS support for the |
62 |
VNC console server. For 1.4 and newer this also enables WebSocket |
63 |
support. For 2.0 through 2.3 also enables disk quorum |
64 |
support. |
65 |
+ + gtk : Add support for |
66 |
x11-libs/gtk+ (The GIMP Toolkit) |
67 |
- - infiniband : Enable Infiniband RDMA |
68 |
transport support |
69 |
+ - io-uring : Enable efficient I/O via |
70 |
sys-libs/liburing. |
71 |
- - iscsi : Enable direct iSCSI |
72 |
support via net-libs/libiscsi instead of indirectly via the Linux block |
73 |
layer that sys-block/open-iscsi does. |
74 |
- - jack : Add support for the JACK |
75 |
Audio Connection Kit |
76 |
- - jemalloc : Enable jemalloc allocator |
77 |
support |
78 |
+ + jpeg : Enable jpeg image support |
79 |
for the VNC console server |
80 |
- - lzo : Enable support for lzo |
81 |
compression |
82 |
- - multipath : Enable multipath |
83 |
persistent reservation passthrough via sys-fs/multipath-tools. |
84 |
+ + ncurses : Enable the ncurses-based |
85 |
console |
86 |
+ - nfs : Enable NFS support |
87 |
+ + nls : Add Native Language |
88 |
Support (using gettext - GNU locale utilities) |
89 |
- - numa : Enable NUMA support |
90 |
+ + opengl : Add support for OpenGL (3D |
91 |
graphics) |
92 |
+ - oss : Add support for OSS (Open |
93 |
Sound System) |
94 |
+ - pin-upstream-blobs : Pin the versions of BIOS |
95 |
firmware to the version included in the upstream release. This is needed |
96 |
to sanely support |
97 |
migration/suspend/resume/snapshotting/etc... of instances. When the |
98 |
blobs are different, random corruption/bugs/crashes/etc... may be observed. |
99 |
- - plugins : Enable qemu plugin API via |
100 |
shared library loading. |
101 |
+ + png : Enable png image support |
102 |
for the VNC console server |
103 |
+ + pulseaudio : Enable pulseaudio output |
104 |
for sound emulation |
105 |
- - python : Add optional |
106 |
support/bindings for the Python language |
107 |
- - python_targets_python3_10 : Build with Python 3.10 |
108 |
- - python_targets_python3_8 : Build with Python 3.8 |
109 |
+ + python_targets_python3_9 : Build with Python 3.9 |
110 |
+ + qemu_softmmu_targets_aarch64 : ARM64 system emulation target |
111 |
- - qemu_softmmu_targets_alpha : system emulation target |
112 |
+ + qemu_softmmu_targets_arm : system emulation target |
113 |
- - qemu_softmmu_targets_avr : system emulation target |
114 |
- - qemu_softmmu_targets_cris : system emulation target |
115 |
- - qemu_softmmu_targets_hppa : system emulation target |
116 |
- - qemu_softmmu_targets_i386 : system emulation target |
117 |
- - qemu_softmmu_targets_lm32 : LatticeMico32 system |
118 |
emulation target |
119 |
- - qemu_softmmu_targets_m68k : system emulation target |
120 |
- - qemu_softmmu_targets_microblaze : system emulation target |
121 |
- - qemu_softmmu_targets_microblazeel : system emulation target |
122 |
- - qemu_softmmu_targets_mips : system emulation target |
123 |
- - qemu_softmmu_targets_mips64 : system emulation target |
124 |
- - qemu_softmmu_targets_mips64el : system emulation target |
125 |
- - qemu_softmmu_targets_mipsel : system emulation target |
126 |
- - qemu_softmmu_targets_moxie : moxielogic system |
127 |
emulation target |
128 |
- - qemu_softmmu_targets_nios2 : system emulation target |
129 |
- - qemu_softmmu_targets_or1k : OpenRISC system emulation |
130 |
target |
131 |
- - qemu_softmmu_targets_ppc : system emulation target |
132 |
- - qemu_softmmu_targets_ppc64 : system emulation target |
133 |
- - qemu_softmmu_targets_riscv32 : system emulation target |
134 |
- - qemu_softmmu_targets_riscv64 : system emulation target |
135 |
- - qemu_softmmu_targets_rx : Renesas RX system |
136 |
emulation target |
137 |
- - qemu_softmmu_targets_s390x : system emulation target |
138 |
- - qemu_softmmu_targets_sh4 : system emulation target |
139 |
- - qemu_softmmu_targets_sh4eb : system emulation target |
140 |
- - qemu_softmmu_targets_sparc : system emulation target |
141 |
- - qemu_softmmu_targets_sparc64 : system emulation target |
142 |
- - qemu_softmmu_targets_tricore : system emulation target |
143 |
- - qemu_softmmu_targets_unicore32 : system emulation target |
144 |
+ + qemu_softmmu_targets_x86_64 : system emulation target |
145 |
- - qemu_softmmu_targets_xtensa : system emulation target |
146 |
- - qemu_softmmu_targets_xtensaeb : system emulation target |
147 |
+ + qemu_user_targets_aarch64 : ARM64 userspace emulation |
148 |
target |
149 |
- - qemu_user_targets_aarch64_be : ARM64 big endian userspace |
150 |
emulation target |
151 |
- - qemu_user_targets_alpha : userspace emulation target |
152 |
+ + qemu_user_targets_arm : ARM (little endian) |
153 |
userspace emulation target |
154 |
- - qemu_user_targets_armeb : ARM (big endian) userspace |
155 |
emulation target |
156 |
- - qemu_user_targets_cris : userspace emulation target |
157 |
- - qemu_user_targets_hexagon : Qualcomm hexagon userspace |
158 |
emulation target |
159 |
- - qemu_user_targets_hppa : userspace emulation target |
160 |
- - qemu_user_targets_i386 : userspace emulation target |
161 |
- - qemu_user_targets_m68k : userspace emulation target |
162 |
- - qemu_user_targets_microblaze : userspace emulation target |
163 |
- - qemu_user_targets_microblazeel : userspace emulation target |
164 |
- - qemu_user_targets_mips : userspace emulation target |
165 |
- - qemu_user_targets_mips64 : userspace emulation target |
166 |
- - qemu_user_targets_mips64el : userspace emulation target |
167 |
- - qemu_user_targets_mipsel : userspace emulation target |
168 |
- - qemu_user_targets_mipsn32 : MIPS N32 ABI userspace |
169 |
emulation target |
170 |
- - qemu_user_targets_mipsn32el : MIPS N32 ABI LE userspace |
171 |
emulation target |
172 |
- - qemu_user_targets_nios2 : userspace emulation target |
173 |
- - qemu_user_targets_or1k : OpenRISC system emulation |
174 |
target |
175 |
- - qemu_user_targets_ppc : PowerPC 32-bit big endian |
176 |
userspace emulation target |
177 |
- - qemu_user_targets_ppc64 : PowerPC 64-bit big endian |
178 |
userspace emulation target |
179 |
- - qemu_user_targets_ppc64abi32 : userspace emulation target |
180 |
- - qemu_user_targets_ppc64le : PowerPC 64-bit little |
181 |
endian userspace emulation target |
182 |
- - qemu_user_targets_riscv32 : userspace emulation target |
183 |
- - qemu_user_targets_riscv64 : userspace emulation target |
184 |
- - qemu_user_targets_s390x : userspace emulation target |
185 |
- - qemu_user_targets_sh4 : userspace emulation target |
186 |
- - qemu_user_targets_sh4eb : userspace emulation target |
187 |
- - qemu_user_targets_sparc : userspace emulation target |
188 |
- - qemu_user_targets_sparc32plus : userspace emulation target |
189 |
- - qemu_user_targets_sparc64 : userspace emulation target |
190 |
+ + qemu_user_targets_x86_64 : userspace emulation target |
191 |
- - qemu_user_targets_xtensa : userspace emulation target |
192 |
- - qemu_user_targets_xtensaeb : userspace emulation target |
193 |
- - rbd : Enable rados block device |
194 |
backend support, see https://docs.ceph.com/en/mimic/rbd/qemu-rbd/ |
195 |
- - sasl : Add support for the Simple |
196 |
Authentication and Security Layer |
197 |
+ + sdl : Enable the SDL-based console |
198 |
- - sdl-image : SDL Image support for icons |
199 |
+ + seccomp : Enable seccomp (secure |
200 |
computing mode) to perform system call filtering at runtime to increase |
201 |
security of programs |
202 |
+ - slirp : Enable TCP/IP in |
203 |
hypervisor via net-libs/libslirp |
204 |
- - smartcard : Enable smartcard support |
205 |
- - snappy : Enable support for Snappy |
206 |
compression (as implemented in app-arch/snappy) |
207 |
+ - spice : Enable Spice protocol |
208 |
support via app-emulation/spice |
209 |
+ - ssh : Enable SSH based block |
210 |
device support via net-libs/libssh2 |
211 |
- - static : Build the User and |
212 |
Software MMU (system) targets as well as tools as static binaries |
213 |
- - static-user : Build the User targets as |
214 |
static binaries |
215 |
- - systemtap : Enable SystemTAP/DTrace |
216 |
tracing |
217 |
- - test : Enable dependencies and/or |
218 |
preparations necessary to run tests (usually controlled by FEATURES=test |
219 |
but can be toggled independently) |
220 |
+ + udev : Enable virtual/udev |
221 |
integration (device discovery, power and storage device support, etc) |
222 |
+ + usb : Enable USB passthrough via |
223 |
dev-libs/libusb |
224 |
+ - usbredir : Use sys-apps/usbredir to |
225 |
redirect USB devices to another machine over TCP |
226 |
+ - vde : Enable VDE-based networking |
227 |
+ - vhost-net : Enable accelerated |
228 |
networking using vhost-net, see https://www.linux-kvm.org/page/VhostNet |
229 |
+ - vhost-user-fs : Enable shared file system |
230 |
access using the FUSE protocol carried over virtio. |
231 |
+ - virgl : Enable experimental Virgil |
232 |
3d (virtual software GPU) |
233 |
+ - virtfs : Enable VirtFS via |
234 |
virtio-9p-pci / fsdev. See https://wiki.qemu.org/Documentation/9psetup |
235 |
- - vnc : Enable VNC (remote desktop |
236 |
viewer) support |
237 |
- - vte : Enable terminal support ( |
238 |
x11-libs/vte) in the GTK+ interface |
239 |
+ + xattr : Add support for getting |
240 |
and setting POSIX extended attributes, through sys-apps/attr. Requisite |
241 |
for the virtfs backend. |
242 |
- - xen : Enables support for Xen |
243 |
backends |
244 |
+ - xfs : Support xfsctl() |
245 |
notification and syncing for XFS backed virtual disks. |
246 |
- - zstd : Enable support for ZSTD |
247 |
compression |
248 |
┌─[doskanoness@gentoo] - [~] - [2021-11-27 11:20:22] |
249 |
└─[126] <> qemu-system-x86_64 --version ⚡[▶▶▶▶▶▶▶▶▶▷] |
250 |
QEMU emulator version 6.1.0 |
251 |
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers |