virt-install

Install debian view serial console:

virt-install --name debianprod --ram 4000 --disk /mnt/data/vm_prod/debian_garfi-fr.qcow2 --vcpus 4 --network network=default  --location /mnt/data/vm_prod/debian-testing-amd64-netinst.iso --extra-args="auto console=ttyS0,115200n8 serial" --graphics none --console pty,target_type=serial