I have KVM based VMs running on my laptop and the VMs getting names resolved via KVM's dnsmasq DNS server. However the KVM's dnsmasq DNS server resolves also names in the hosts /etc/hosts file which causes me some troubles. Therefore I want to change to configuration that the /etc/hosts file of the KVM server is not used for name resolution.
As per dnsmasq's help this should be possible using the -h or --no-hosts option however I've not found a way to configure KVMs dnsmask properly. virsh net-edit allows me to edit the configuration XML however it is not clear how to set the -h or --no-hosts option there.