Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up4.0rc1 qvm-block doesn't work with dom0 loop devices #3084
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
3hhh
commented
Sep 7, 2017
|
(Halfway) working procedure for sys-usb: #3073 |
andrewdavidwong
added
bug
C: core
labels
Sep 8, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Sep 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kushaldas
Sep 8, 2017
I am also seeing the same error in my 4.0rc1 install. Was trying to attach an image file using a loop device to one domain.
kushaldas
commented
Sep 8, 2017
|
I am also seeing the same error in my 4.0rc1 install. Was trying to attach an image file using a loop device to one domain. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
3hhh
Sep 8, 2017
xl block-attach works with dom0 loop devices by the way (can be used as a workaround in the meantime).
3hhh
commented
Sep 8, 2017
•
|
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kushaldas
Sep 9, 2017
@3hhh Thanks for the tip. I also tried after updating dom0 to current testing, still same error. I will try xl block-attach today.
kushaldas
commented
Sep 9, 2017
|
@3hhh Thanks for the tip. I also tried after updating dom0 to current testing, still same error. I will try |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taonik
Sep 11, 2017
I'm in the same situation.
I've tried xl block-attach, but it complains no vdev specified in '/dev/loopX'
taonik
commented
Sep 11, 2017
|
I'm in the same situation. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
3hhh
Sep 11, 2017
Then you forgot the vdev...
xl block-attach testVM phy:loop55 xvdz w
xvdz is the vdev that will appear in testVM
3hhh
commented
Sep 11, 2017
|
Then you forgot the vdev...
xvdz is the vdev that will appear in testVM |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taonik
Sep 12, 2017
It works, but then it fails to detach the block: no suitable backend for disk xvdz.
It seems to be an old problem (qvm-block -A).
taonik
commented
Sep 12, 2017
|
It works, but then it fails to detach the block: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 12, 2017
Member
Generally using xl block-attach and xl block-detach mixed with libvirt (as used by qvm-block and others) is a bad idea, because libvirt keeps own view of the system internally.
|
Generally using |
marmarek
closed this
in
marmarek/qubes-core-admin-linux@5c84a0b
Sep 12, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Sep 12, 2017
Automated announcement from builder-github
The package qubes-core-dom0-linux-4.0.4-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Sep 12, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Sep 12, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Sep 12, 2017
Closed
core-admin-linux v4.0.4 (r4.0) #199
added a commit
to marmarek/qubes-linux-utils
that referenced
this issue
Sep 12, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Sep 12, 2017
Closed
linux-utils v4.0.6 (r4.0) #200
added a commit
to marmarek/qubes-linux-utils
that referenced
this issue
Sep 15, 2017
added a commit
to marmarek/qubes-core-admin-linux
that referenced
this issue
Sep 15, 2017
This was referenced Sep 15, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package qubes-core-dom0-linux-4.0.6-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
3hhh commentedSep 7, 2017
In 4.0rc1 qvm-block cannot attach loop devices created in dom0 to AppVMs. This did work in 3.2.
This is particularly annoying as the -A option was removed from qvm-block in 4.0rc1.
Example:
Create a loop device in dom0, e.g. /dev/loop55.
qvm-block a testVM dom0:/dev/loop55results in the same error.Attaching loop devices created in e.g. sys-usb to other VMs does work.