summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-01-21 14:19:21 +0000
committerJeff Cody <jcody@redhat.com>2016-02-29 14:54:31 -0500
commitb189346eb1784df95ed6fed610411dbf23d19e1f (patch)
treea5c3aa8ef4ea4dd0a649c0963d0552a126e07258 /scripts/qapi.py
parent1bff96064290b2e9594dcbeea967b3d8cc76e2b2 (diff)
downloadfocaccia-qemu-b189346eb1784df95ed6fed610411dbf23d19e1f.tar.gz
focaccia-qemu-b189346eb1784df95ed6fed610411dbf23d19e1f.zip
iscsi: add support for getting CHAP password via QCryptoSecret API
The iSCSI driver currently accepts the CHAP password in plain text
as a block driver property. This change adds a new "password-secret"
property that accepts the ID of a QCryptoSecret instance.

  $QEMU \
     -object secret,id=sec0,filename=/home/berrange/example.pw \
     -drive driver=iscsi,url=iscsi://example.com/target-foo/lun1,\
            user=dan,password-secret=sec0

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1453385961-10718-4-git-send-email-berrange@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions