1 live add a disk(iscsi blck disk)
[root@ip9-114-181-61 ~]# cat scsi1.xml
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-path/ip-9.114.44.160:3260-iscsi-iqn.1986-03.com.ibm:2145.flex-v7000-9.114.44.11.node1-lun-0'/>
<target dev='vdb' bus='virtio'/>
</disk>
[root@ip9-114-181-61 ~]# virsh attach-device $domain scsi1.xml --live --persistent
2 HMP command in virsh
show PCI info of domain
virsh# qemu-monitor-command $domain --hmp 'info pci'
Add a NIC
virsh # qemu-monitor-command $domain --hmp 'device_add e1000,id=slot4'