Make NICInfo string fields non-const
commit9203f5202bf4bc7e4669ba19d3e6aac7761bd385
authorMark McLoughlin <markmc@redhat.com>
Tue, 6 Oct 2009 11:16:53 +0000 (6 12:16 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Oct 2009 19:36:10 +0000 (6 14:36 -0500)
treeaca938144077f730db381296f559d4badb5a221f
parent3cd67992f5ed8f2afcf849ab9bf17ba730a89b92
Make NICInfo string fields non-const

We now only assign strdup()ed strings to these fields, never static
strings.

aliguori: fix build for ppc_prep and mips_jazz

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/mips_jazz.c
hw/ppc_prep.c
net.c
net.h