From: David Ahern <dsahern@gmail.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: KVM mailing list <kvm@vger.kernel.org>
Subject: Re: pci passthrough - VF reset at boot is dropping assigned MAC
Date: Mon, 25 Apr 2011 14:29:29 -0600 [thread overview]
Message-ID: <4DB5D9A9.4040503@gmail.com> (raw)
In-Reply-To: <1303759116.3431.59.camel@x201>
On 04/25/11 13:18, Alex Williamson wrote:
>>> I don't see this happening on my system, once manually set the mac never
>>> changes. I can restart and reset the VM and the host and guest both
>>> continue seeing the set mac address. I tested it with both a recent
>>> rhel6.1 host kernel as well as upstream 2.6.39-rc4. If I switch to a VF
>>> with an unset mac, those will change on each VM reset or restart.
>>
>> Blacklist igbvf in the host and you will. That must be the difference: I
>> was preventing the vf driver from loading in the host -- it's not needed
>> there, so why load it?
>
> I already have it blacklisted. It's not needed if you're using the VFs
> they way we are, but there are other uses.
>
>> I rebooted for a fresh run. Loaded the igbvf driver before starting the
>> VM using my tools. With the igbvf driver loaded in the host the MAC
>> address for the VF was not reset.
>>
>> As for why I blacklisted it -- udev. What a PITA with VFs. I saw the
>> feature for Fedora 15 which should address this.
>
> Yes, my VM is up to renaming the VFs eth1340 since the mac changes every
> boot. I'm still confused though as I did a whole round of testing after
> a reboot where igbvf was never loaded and the set mac address stuck
> across VM restarts and resets.
>
> Alex
>
The resetting of the VM MAC address is fixed in 2.6.39-rc4, so it's a
Fedora 14, 2.6.35.12 problem.
David
next prev parent reply other threads:[~2011-04-25 20:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 16:28 pci passthrough - VF reset at boot is dropping assigned MAC David Ahern
2011-04-25 16:37 ` Alex Williamson
2011-04-25 16:41 ` David Ahern
2011-04-25 17:30 ` Alex Williamson
2011-04-25 17:41 ` David Ahern
2011-04-25 18:04 ` David Ahern
2011-04-25 18:36 ` Alex Williamson
2011-04-25 19:12 ` David Ahern
2011-04-25 19:18 ` Alex Williamson
2011-04-25 20:29 ` David Ahern [this message]
2011-04-25 21:17 ` David Ahern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB5D9A9.4040503@gmail.com \
--to=dsahern@gmail.com \
--cc=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.