Add NIC and hostnet names to domain state XML
Add NIC and hostnet names to domain state XML

The qemu driver needs to assign and keep track of identifiers for
network devices so that it can remove them. We need to keep this state
across libvirtd restarts, but it's not configuration that needs to
be kept across guest restarts.

* src/domain_conf.c: parse and format <state nic="foo" hostnet="bar"/>

novel/fbsd-libvirt,bjzhang/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,rmarwaha/libvirt1,rbu/libvirt,VenkatDatta/libvirt,wiedi/libvirt,nertpinx/libvirt,dumbbell/libvirt,datto/libvirt,zhlcindy/libvirt-1.1.4-maintain,warewolf/libvirt,rmarwaha/libvirt1,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,jardasgit/libvirt,shugaoye/libvirt,warewolf/libvirt,agx/libvirt,emaste/libvirt,leilihh/libvirt,fabianfreyer/libvirt,usc-isi/libvirt,eskultety/libvirt,siboulet/libvirt-openvz,foomango/libvirt,warewolf/libvirt,elmarco/libvirt,shugaoye/libvirt,elmarco/libvirt,rmarwaha/libvirt,jfehlig/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,rbu/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,novel/fbsd-libvirt,rmarwaha/libvirt1,cbosdo/libvirt,novel/fbsd-libvirt,rmarwaha/libvirt,cbosdo/libvirt,wiedi/libvirt,emaste/libvirt,eskultety/libvirt,amery/libvirt-vserver,taget/libvirt,rbu/libvirt,fabianfreyer/libvirt,jeckersb/libvirt,wiedi/libvirt,kantai/libvirt-vfork,iam-TJ/libvirt,wiedi/libvirt,eskultety/libvirt,kantai/libvirt-vfork,datto/libvirt,olafhering/libvirt,warewolf/libvirt,emaste/libvirt,fabianfreyer/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,crobinso/libvirt,soulxu/libvirt-xuhj,rmarwaha/libvirt1,jeckersb/libvirt,rmarwaha/libvirt,rlaager/libvirt,zippy2/libvirt,leilihh/libvirt,trainstack/libvirt,andreabolognani/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,emaste/libvirt,amery/libvirt-vserver,leilihh/libvirt,foomango/libvirt,andreabolognani/libvirt,emaste/libvirt,rbu/libvirt,danwent/libvirt-ovs,elmarco/libvirt,fabianfreyer/libvirt,usc-isi/libvirt,usc-isi/libvirt,elmarco/libvirt,jeckersb/libvirt,libvirt/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,zippy2/libvirt,kantai/libvirt-vfork,dumbbell/libvirt,agx/libvirt,jfehlig/libvirt,usc-isi/libvirt,eskultety/libvirt,agx/libvirt,olafhering/libvirt,dumbbell/libvirt,VenkatDatta/libvirt,datto/libvirt,amery/libvirt-vserver,taget/libvirt,leilihh/libvirt,jeckersb/libvirt,soulxu/libvirt-xuhj,agx/libvirt,andreabolognani/libvirt,foomango/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,bjzhang/libvirt,olafhering/libvirt,VenkatDatta/libvirt,usc-isi/libvirt,bjzhang/libvirt,amery/libvirt-vserver,novel/fbsd-libvirt,iam-TJ/libvirt,olafhering/libvirt,zippy2/libvirt,emaste/libvirt,rlaager/libvirt,rbu/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,nertpinx/libvirt,trainstack/libvirt,andreabolognani/libvirt,nertpinx/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,shugaoye/libvirt,jfehlig/libvirt,jeckersb/libvirt,elmarco/libvirt,warewolf/libvirt,trainstack/libvirt,rlaager/libvirt,wiedi/libvirt,rmarwaha/libvirt,agx/libvirt,kantai/libvirt-vfork,jardasgit/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,dumbbell/libvirt,novel/fbsd-libvirt,taget/libvirt,rmarwaha/libvirt1,fabianfreyer/libvirt,taget/libvirt,andreabolognani/libvirt,wiedi/libvirt,jfehlig/libvirt,soulxu/libvirt-xuhj,iam-TJ/libvirt,soulxu/libvirt-xuhj,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,bjzhang/libvirt,jardasgit/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,soulxu/libvirt-xuhj,VenkatDatta/libvirt,libvirt/libvirt,novel/fbsd-libvirt,bjzhang/libvirt,crobinso/libvirt,warewolf/libvirt,dumbbell/libvirt,novel/fbsd-libvirt,libvirt/libvirt,nertpinx/libvirt,danwent/libvirt-ovs,amery/libvirt-vserver,rmarwaha/libvirt,crobinso/libvirt,crobinso/libvirt,zippy2/libvirt,rlaager/libvirt,cbosdo/libvirt,kantai/libvirt-vfork,foomango/libvirt,danwent/libvirt-ovs,siboulet/libvirt-openvz,taget/libvirt,trainstack/libvirt,iam-TJ/libvirt,warewolf/libvirt,siboulet/libvirt-openvz,libvirt/libvirt,leilihh/libvirt,danwent/libvirt-ovs,datto/libvirt,cbosdo/libvirt,trainstack/libvirt,jeckersb/libvirt,foomango/libvirt,wiedi/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,jardasgit/libvirt,eskultety/libvirt,datto/libvirt,shugaoye/libvirt,cbosdo/libvirt,leilihh/libvirt,nertpinx/libvirt,jardasgit/libvirt,dumbbell/libvirt