#!/bin/sh

# -net nic -net bridge,br=bridge0

export QEMU_AUDIO_DRV=pa
export QEMU_PA_SERVER=/run/user/1000/pulse/native

exec qemu-system-x86_64                                                         \
     -daemonize                                                                 \
     -m 4096                                                                    \
     -enable-kvm                                                                \
     -cpu host                                                                  \
     -soundhw hda                                                               \
     -hda /srv/virt/debian-gnome.img                                            \
     -virtfs local,path=/srv/share,security_model=none,mount_tag=TAG_share      \
     "$@"

# -cdrom /srv/archive/debian/debian-live-9.1.0-amd64-gnome.iso -boot order=d
