This records my knowledge working with qemu / kvm on ubuntu machines.
The COMPLETE XML format reference
http://libvirt.org/formatdomain.html
Use "virsh edit [domain]" to edit the xml according to the above. The xml ultimately controls everything.
Other references:
http://linux.die.net/man/1/qemu-kvm