Mark McLoughlin 30605477f2 Store the interface vlan number in the domain state
Currently, an interface's vlan number corresponds to its index in
the table of network interfaces. That is no longer true when we
allow devices to be removed.

To fix this, we store the vlan number in the domain's state XML
so that it survives libvirtd restarts.

* src/domain_conf.h: add vlan number to virDomainNetDef

* src/domain_conf.c: store it in XML as <state vlan='N'/>, defaulting
  to -1 if this is state saved by a previous version of libvirt

* src/qemu_conf.c: assign vlan numbers before starting qemu
2009-07-22 11:34:06 +01:00
..
2009-06-03 11:13:33 +00:00
2009-06-03 11:13:33 +00:00
2008-11-17 11:03:25 +00:00
2008-12-04 21:09:20 +00:00
2008-12-04 21:09:20 +00:00
2009-05-08 10:05:56 +00:00
2009-07-21 15:43:11 +02:00
2009-01-15 19:56:05 +00:00
2008-11-07 16:43:23 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2009-06-29 17:09:42 +00:00
2009-06-29 17:09:42 +00:00
2008-11-17 11:03:25 +00:00
2008-11-17 11:03:25 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2009-06-17 08:38:17 +00:00
2009-07-16 15:06:42 +02:00
2009-07-21 15:45:55 +02:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-07-16 17:06:55 +01:00
2009-07-16 17:06:55 +01:00
2009-07-16 15:06:42 +02:00
2009-01-21 18:11:14 +00:00