diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c
index 119b34f8690fd26deabb7b133f91a84558352089..f64bd8254b872ef476c15f4784beab053f7acab3 100644
--- a/src/qemu/qemu_block.c
+++ b/src/qemu/qemu_block.c
@@ -722,6 +722,8 @@ qemuBlockStorageSourceGetCURLProps(virStorageSourcePtr src,
"S:password-secret", passwordalias,
"T:sslverify", src->sslverify,
"S:cookie-secret", cookiealias,
+ "P:timeout", src->timeout,
+ "P:readahead", src->readahead,
NULL));
return ret;
diff --git a/tests/qemuxml2argvdata/disk-network-http.x86_64-latest.args b/tests/qemuxml2argvdata/disk-network-http.x86_64-latest.args
index 5798235b55f89e929986be1c511bbee045313817..e14498f778ddb881d3abeeb75f030d944d359664 100644
--- a/tests/qemuxml2argvdata/disk-network-http.x86_64-latest.args
+++ b/tests/qemuxml2argvdata/disk-network-http.x86_64-latest.args
@@ -29,13 +29,15 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
-boot strict=on \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
-blockdev '{"driver":"http","url":"http://example.org:80/test.img",\
-"node-name":"libvirt-4-storage","auto-read-only":true,"discard":"unmap"}' \
+"timeout":1234,"node-name":"libvirt-4-storage","auto-read-only":true,\
+"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-4-format","read-only":false,"driver":"raw",\
"file":"libvirt-4-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x2,drive=libvirt-4-format,\
id=virtio-disk0,bootindex=1 \
-blockdev '{"driver":"https","url":"https://example.org:443/test2.img",\
-"node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"}' \
+"readahead":1024,"node-name":"libvirt-3-storage","auto-read-only":true,\
+"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"driver":"raw",\
"file":"libvirt-3-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=libvirt-3-format,\
diff --git a/tests/qemuxml2argvdata/disk-network-http.xml b/tests/qemuxml2argvdata/disk-network-http.xml
index 6acf75cf65d092ad68a05aa6109c487f1723fce0..20024c732efbcb0b64014332a61fe988f8bf92de 100644
--- a/tests/qemuxml2argvdata/disk-network-http.xml
+++ b/tests/qemuxml2argvdata/disk-network-http.xml
@@ -17,6 +17,7 @@
+
@@ -24,6 +25,7 @@
+