Alexandre Bezroutchko
ca4367821e
Improve handling of command line parameters, don't silently ignore unexpected arguments.
...
This is to avoid following behavior:
[abb@dom0 qubes-core]$ qvm-block -l
netvm:sda STORAGE_DEVICE () 0 B
dom0:sdb1 Cruzer () 3 GiB
dom0:sdb Cruzer () 3 GiB
[abb@dom0 qubes-core]$ qvm-block -l
netvm:sda STORAGE_DEVICE () 0 B
dom0:sdb1 Cruzer () 3 GiB
dom0:sdb Cruzer () 3 GiB
[abb@dom0 qubes-core]$ qvm-block -a qdvp dom0:sdb
[abb@dom0 qubes-core]$ qvm-block -l
netvm:sda STORAGE_DEVICE () 0 B
dom0:sdb1 Cruzer () 3 GiB
dom0:sdb Cruzer () 3 GiB (attached to 'qdvp' as 'xvdi')
[abb@dom0 qubes-core]$ qvm-block -d qdvp BLAHBLAH
^^^^^^^^^^^^^
>>> The last parameter is silently ignored and all devices get detached
[abb@dom0 qubes-core]$ qvm-block -l
netvm:sda STORAGE_DEVICE () 0 B
dom0:sdb1 Cruzer () 3 GiB
dom0:sdb Cruzer () 3 GiB
2012-10-15 11:40:08 +02:00
Alexandre Bezroutchko
caf3ed1ae4
cosmetic
2012-10-08 00:46:30 +02:00
Marek Marczykowski
b42e09e4ba
dom0/qvm-tools: Warn the user when running qvm-tool as root is not recommended ( #612 )
2012-07-12 03:57:22 +02:00
Marek Marczykowski
ce0c20e021
dom0/qvm-block: qvm-block -d <vmname> detaches all devices ( #517 )
...
Exception: if frontend specified, detaches only this one device.
2012-04-13 00:30:13 +02:00
Marek Marczykowski
1a07bc241d
dom0/qvm-block: handle block-attach errors ( #515 )
2012-04-12 18:04:20 +02:00
Marek Marczykowski
749b84ec43
dom0/qvm-block: hide system disks by default ( #5 pro)
2012-03-31 19:49:41 +02:00
Marek Marczykowski
f42c39ba21
dom0/qvm-block: one more file-attach fix
2012-03-31 19:22:26 +02:00
Marek Marczykowski
e5a2209cab
dom0/qvm-block: change order of parameters ( #514 )
2012-03-31 19:05:12 +02:00
Marek Marczykowski
8105fad646
dom0+vm: qvm-block --attach-file
...
Allow to attach disk image from different VM as block device. File attached
with qvm-block -A will be visible as loopX device and as such can be detached.
File path will be in device description.
2012-03-31 19:04:50 +02:00
Marek Marczykowski
fd2b373b7d
dom0/qvm-block: add missing import
2011-11-08 01:28:43 +01:00
Marek Marczykowski
ed23b0d6a2
dom0/qvm-tools: output diagnostics to stderr instead of stdout ( #276 )
2011-10-10 11:23:04 +02:00
Marek Marczykowski
56f3d7ba75
dom0+vm/qvm-block: convert device size to bytes
2011-10-01 10:33:18 +02:00
Marek Marczykowski
e3993ca5f9
dom0: qvm-block tool, new qubesutils python module ( #226 )
2011-09-29 13:56:22 +02:00