Re: [Qemu-devel] [RFC qemu PATCH] only writing out the last byte of MAC makes it have effect

2013-04-08 Thread Amos Kong
On Mon, Mar 25, 2013 at 08:58:49AM +0200, Michael S. Tsirkin wrote: > On Mon, Mar 25, 2013 at 10:23:57AM +0800, Amos Kong wrote: > > On Fri, Mar 22, 2013 at 10:45:09AM +1030, Rusty Russell wrote: > > > "Michael S. Tsirkin" writes: > > > > On Thu, Mar 21, 2013 at 02:44:50PM +0800, Amos Kong wrote:

Re: [Qemu-devel] [RFC qemu PATCH] only writing out the last byte of MAC makes it have effect

2013-03-24 Thread Michael S. Tsirkin
On Mon, Mar 25, 2013 at 10:23:57AM +0800, Amos Kong wrote: > On Fri, Mar 22, 2013 at 10:45:09AM +1030, Rusty Russell wrote: > > "Michael S. Tsirkin" writes: > > > On Thu, Mar 21, 2013 at 02:44:50PM +0800, Amos Kong wrote: > > >> The lengcy guests don't have mac programming command, we don't know w

Re: [Qemu-devel] [RFC qemu PATCH] only writing out the last byte of MAC makes it have effect

2013-03-24 Thread Amos Kong
On Fri, Mar 22, 2013 at 10:45:09AM +1030, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > On Thu, Mar 21, 2013 at 02:44:50PM +0800, Amos Kong wrote: > >> The lengcy guests don't have mac programming command, we don't know when > >> it's safe to use MAC. This patch changed qemu to makes MAC

Re: [Qemu-devel] [RFC qemu PATCH] only writing out the last byte of MAC makes it have effect

2013-03-21 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Mar 21, 2013 at 02:44:50PM +0800, Amos Kong wrote: >> The lengcy guests don't have mac programming command, we don't know when >> it's safe to use MAC. This patch changed qemu to makes MAC change effect >> when the last byte of MAC is written to config space.

Re: [Qemu-devel] [RFC qemu PATCH] only writing out the last byte of MAC makes it have effect

2013-03-21 Thread Michael S. Tsirkin
On Thu, Mar 21, 2013 at 02:44:50PM +0800, Amos Kong wrote: > The lengcy guests don't have mac programming command, we don't know when > it's safe to use MAC. This patch changed qemu to makes MAC change effect > when the last byte of MAC is written to config space. > > MAC address takes first 6 byt