[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Support alternative formats for MAC addresses
From: |
Balazs Attila-Mihaly \(Cd-MaN\) |
Subject: |
[Qemu-devel] [PATCH] Support alternative formats for MAC addresses |
Date: |
Tue, 4 Dec 2007 15:13:54 -0800 (PST) |
The attached patch modifies the parser function for the mac addresses (ie. -net
nic,macaddr=XXXXXX) in the following ways:
- the accepted separators now include "-", because on Windows it is common to
write a MAC addresses separated by dashes (ie. 54-32-00-12-34-56)
- it supports specifying the lower part of the MAC address (ie. the last three
bytes) as an integer number (so that you can say -net nic,macaddr=0x1234, which
would result in the mac address of 54-32-00-00-12-34). This simplifies the
situations where you want to connect together multiple Qemu virtual machines
and you want an easy way to ensure that they network cards don't have colliding
MAC addresses (simpler than having to retype the whole address)
Any comments are welcome.
__________________________________________________________
Sent from Yahoo! - the World's favourite mail http://uk.mail.yahoo.com
mac_addr_syntax.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Support alternative formats for MAC addresses,
Balazs Attila-Mihaly \(Cd-MaN\) <=