mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Remove sheepdog support
This was discontinued in qemu quite a long time ago.
This commit is contained in:
@@ -79,13 +79,6 @@ check_output
|
||||
grep -sq -- '-drive file=nbd:1.2.3.4:1234,' "$DEBUG_QEMU_FILE" || fail nbd
|
||||
rm "$DEBUG_QEMU_FILE"
|
||||
|
||||
# Sheepdog.
|
||||
|
||||
$guestfish -d sheepdog run ||:
|
||||
check_output
|
||||
grep -sq -- '-drive file=sheepdog:volume,' "$DEBUG_QEMU_FILE" || fail sheepdog
|
||||
rm "$DEBUG_QEMU_FILE"
|
||||
|
||||
# Local, stored in a pool.
|
||||
|
||||
$guestfish -d pool1 run ||:
|
||||
|
||||
@@ -97,23 +97,6 @@
|
||||
</devices>
|
||||
</domain>
|
||||
|
||||
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
|
||||
<test:runstate>5</test:runstate> <!-- 5 == VIR_DOMAIN_SHUTOFF -->
|
||||
<name>sheepdog</name>
|
||||
<memory>1048576</memory>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<devices>
|
||||
<disk type='network' device='disk'>
|
||||
<driver name='qemu'/>
|
||||
<source protocol='sheepdog' name='volume'/>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
</disk>
|
||||
</devices>
|
||||
</domain>
|
||||
|
||||
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
|
||||
<test:runstate>5</test:runstate> <!-- 5 == VIR_DOMAIN_SHUTOFF -->
|
||||
<name>pool1</name>
|
||||
|
||||
@@ -109,16 +109,6 @@ check_output
|
||||
grep -sq -- '-drive file=nbd:unix:/socket,' "$DEBUG_QEMU_FILE" || fail
|
||||
rm "$DEBUG_QEMU_FILE"
|
||||
|
||||
# Sheepdog.
|
||||
|
||||
guestfish <<EOF ||:
|
||||
add "volume" "format:raw" "protocol:sheepdog"
|
||||
run
|
||||
EOF
|
||||
check_output
|
||||
grep -sq -- '-drive file=sheepdog:volume,' "$DEBUG_QEMU_FILE" || fail
|
||||
rm "$DEBUG_QEMU_FILE"
|
||||
|
||||
# SSH.
|
||||
|
||||
guestfish <<EOF ||:
|
||||
|
||||
Reference in New Issue
Block a user