xen: blk & nic configuration via cmd line. (Gerd Hoffmann)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 22 Apr 2009 15:19:39 +0000 (15:19 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 22 Apr 2009 15:19:39 +0000 (15:19 +0000)
commit2c8b24a3914361de941e959e38e3c163a5adeea7
tree411b956f4fbe8f95bb971f4241ff90087bee7bd7
parente613b064a88a94b2e887f2cb7a5a3a9082e67d9b
xen: blk & nic configuration via cmd line. (Gerd Hoffmann)

This patch makes qemu create backend and frontend device entries in
xenstore for devices configured on the command line.  It will use
qdisk and qnic backend names, so the qemu internal backends will
be used.

Disks can be created using -drive if=xen,file=...
Nics can be created using -net nic,macaddr=...

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7225 c046a42c-6fe2-441c-8c8c-71466251a162
Makefile.target
hw/xen_backend.c
hw/xen_backend.h
hw/xen_devconfig.c [new file with mode: 0644]
hw/xen_machine_pv.c