On 09/20/2010 06:15 AM, Michal Novotny wrote:
Well, this way I guess we should have 2, maybe 3 different approaches
- different for qemu itself and for upstream version Xen using the
older version of qemu-dm and RHEL-5 version.
Therefore I think we should drop the patch for qemu (the one sent to
this list) and decide about the others using their own lists/discussions.
BTW, the simple way to fix this in Xen is to launch qemu-dm -net
nic,model=?, parse the output to determine if the requested nic is
valid, then if it's not valid, print your warning to the user and then
select a "default" nic.
No need to implement this logic in qemu-dm itself.
Regards,
Anthony Liguori
Michal