On 06/29/2017 03:44 PM, Alex Williamson wrote:
> On Thu, 29 Jun 2017 14:50:15 -0400
> Laine Stump <la...@redhat.com> wrote:
>
>> On 06/28/2017 08:24 PM, Michael Roth wrote:
>>> Hi everyone. Hoping to get some feedback on this approach, or some
>>> altern
On 06/28/2017 08:24 PM, Michael Roth wrote:
> Hi everyone. Hoping to get some feedback on this approach, or some
> alternatives proposed below, to the following issue:
>
> Currently libvirt immediately attempts to rebind a managed device back to the
> host driver when it receives a DEVICE_DELETED
omainPCIAddressBus struct it operates on; even more
> so considering we're going to introduce a complementary
> virDomainPCIAddressBusIsEmpty() function later on.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
--
libvir-list
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> All the pieces are now in place, so we can finally start
> using isolation groups to achieve our initial goal, which is
> separating hostdevs from emulated PCI devices while keeping
> hostdevs that belong to the same host IOMMU group together.
Set
plugging in the first device; moreover, some buses are
> + * prevented from ever changing it */
> +if (!firstDevice || bus->isolationGroupLocked)
Yeah, how does that 2nd thing happen? (setting isolationGroupLocked on
an empty bus) I see that happens in the next patch f
up
when desired, and the logic in the allocator to honor those requests.
That all makes sense to me.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
> ---
> src/bhyve/bhyve_device.c | 4 ++--
> src/conf/de
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
> ---
> docs/news.xml | 21 +
> 1 file changed, 21 insertions(+)
>
> diff --git a/docs/news.xml b
: Andrea Bolognani <abolo...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
(pretty simple change once I saw that most of the diffs were just due to
an indentation change)
> ---
> src/conf/domain_addr.c | 56 +
> src/conf/domain_
t;
>
>
> -
> -
> -
> - function='0x0'/>
> +
> +
> +
Interesting - since we initially had one with controller index=2 that
was automatically given target index=1, now that this PHB controller is
being automat
l2argv-pseries-hostdevs-1.xml
> b/tests/qemuxml2argvdata/qemuxml2argv-pseries-hostdevs-1.xml
> new file mode 100644
> index 000..87fe145
> --- /dev/null
> +++ b/tests/qemuxml2argvdata/qemuxml2argv-pseries-hostdevs-1.xml
> @@ -0,0 +1,38 @@
> +
> + guest
> + 1ccfd
> +
> +
> +
> +
> +
> +
> +
> +
> +
> diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
> index c74614c..a0a846c 100644
> --- a/tests/qemuxml2xmltest.c
> +++ b/tests/qemuxml2xmltest.c
> @@ -676,6 +676,13
The subject line implies (to me) that this patch somehow automagically
creates multiple PHBs for the domain. It looks like what it does is to
add the proper commandline args to the qemu command when multiple PHBs
have already been added to the config.
As for the functionality:
Reviewed-by: Laine
he implicit PHB that's added
> automatically to every pSeries guest creates the 'pci.0' bus.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Sigh. Words can't even describe my feelings. Nothing else you can do
about it though.
Reviewed-by: Laine Stump <la...@laine.org&g
On 06/26/2017 01:25 AM, Andrea Bolognani wrote:
> On Sun, 2017-06-25 at 09:55 -0400, Laine Stump wrote:
>>> Adding it to the virDomainControllerPCIModelName enumeration
>>> is enough for existing code to handle it, so parsing and
>>> formatting will work without furt
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> Signed-off-by: Andrea Bolognani
> ---
> docs/formatdomain.html.in | 5 +
> docs/schemas/domaincommon.rng | 5 +
> src/conf/domain_conf.c| 24
> src/conf/domain_conf.h| 1
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> pSeries guests will soon need the new information; luckily,
> we can figure it out automatically most of the time, so
> users won't have to worry about it.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Reviewe
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> Adding it to the virDomainControllerPCIModelName enumeration
> is enough for existing code to handle it, so parsing and
> formatting will work without further tweaking.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
s, I'm still uncomfortable about the lack of new tests
here, because my own experience is that new code is alsmot always
incorrect until it's been run through some tests. But since you're
remedying this problem in a later patch in the series, I'm okay with it.
Reviewed-by: Laine Stump <la...@laine.
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> There are no external users.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
> ---
> src/conf/domain_addr.c | 2 +-
> src/conf/domain_addr.h | 8
&
On 06/23/2017 11:03 AM, Andrea Bolognani wrote:
> We use hostdev->info frequently enough that having
> a shorter name for it makes the code more readable.
> We will also be adding even more uses later on.
>
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
Revi
On 06/22/2017 01:12 PM, Alberto Ruiz wrote:
>
>
> 2017-06-21 17:30 GMT+01:00 Laine Stump <la...@laine.org
> <mailto:la...@laine.org>>:
>
> On 06/21/2017 03:27 AM, Peter Krempa wrote:
> > On Tue, Jun 20, 2017 at 19:00:43 +0100, ar...@gnome.o
On 06/22/2017 12:21 PM, Alberto Ruiz wrote:
> Hello Laine,
>
> 2017-06-21 17:30 GMT+01:00 Laine Stump <la...@laine.org
> <mailto:la...@laine.org>>:
>
> On 06/21/2017 03:27 AM, Peter Krempa wrote:
> > On Tue, Jun 20, 2017 at 19:00:43 +0100, ar...@
On 06/22/2017 06:08 AM, Andrea Bolognani wrote:
> The call to qemuBuildDeviceAddressStr() happens no matter
> what, so we can move it to the outer possible scope inside
> the function.
>
> We can also move the call to virBufferAsprintf() after all
> the checks have been performed, where it makes
On 06/22/2017 12:15 PM, Daniel P. Berrange wrote:
> On Thu, Jun 22, 2017 at 05:14:48PM +0200, Erik Skultety wrote:
>> [...]
^this is the thing we constantly keep discussing as everyone has a slightly
different angle of view - libvirt does not implement any kind of policy,
On 06/22/2017 11:28 AM, Alex Williamson wrote:
> On Thu, 22 Jun 2017 17:14:48 +0200
> Erik Skultety wrote:
>
>> [...]
^this is the thing we constantly keep discussing as everyone has a slightly
different angle of view - libvirt does not implement any kind of
On 06/20/2017 02:00 PM, ar...@gnome.org wrote:
> From: Alberto Ruiz
>
> ---
> src/network/bridge_driver.c | 56
> ++---
> src/util/virdnsmasq.c | 52 +++--
> src/util/virdnsmasq.h | 1 +
>
On 06/21/2017 03:27 AM, Peter Krempa wrote:
> On Tue, Jun 20, 2017 at 19:00:43 +0100, ar...@gnome.org wrote:
>> From: Alberto Ruiz
>
> Missing commit message.
And when composing the commit message, it's useful to include links to
the associated BZ.
On 06/15/2017 10:17 AM, sferd...@redhat.com wrote:
> From: Sahid Orentino Ferdjaoui
>
> This patch finalizes support of 'poll_us' attribute as an option of
> the NIC driver-specific element, the commit also takes care of
> hotplug.
>
>
>
>
>
>
>
On 06/15/2017 10:17 AM, sferd...@redhat.com wrote:
> From: Sahid Orentino Ferdjaoui
>
> In this commit we introduce 'poll_us' attribute which will be passed
> then to the QEMU command line to enable support of busy polling. This
> commit also take into account that
(Eduardo - I Cc'ed you because there's a question you may be able to
answer about halfway down the message...)
On 06/15/2017 10:17 AM, sferd...@redhat.com wrote:
> From: Sahid Orentino Ferdjaoui
>
> QEMU 2.7.0 adds support of busy polling on vhost-net.
>
>
On 06/15/2017 02:42 PM, Alex Williamson wrote:
> On Thu, 15 Jun 2017 09:33:01 +0100
> "Daniel P. Berrange" wrote:
>
>> On Thu, Jun 15, 2017 at 12:06:43AM +0200, Erik Skultety wrote:
>>> Hi all,
>>>
>>> so there's been an off-list discussion about finally implementing
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> Usually, a controller with alias 'x' will create a bus with the
> same name; however, the bus created by a PHBs with alias 'x' will
> be named 'x.0' instead, so we need to account for that.
This doesn't make sense to me. My recollection (without
> b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml
> index 425992f..7fa652a 100644
> --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml
> +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml
> @@ -164,6 +164,7 @@
>
>
>
> +
>2006000
>0
>
>
Reviewed-by: Laine Stump <la...@laine.org>
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> pSeries guests will soon need the new information;
> luckily, we can figure it out automatically most of
> the time, so users won't have to bother with it.
> ---
> src/qemu/qemu_domain_address.c | 57
> +-
>
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> ---
> docs/schemas/domaincommon.rng | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index cff595b..d565a0b 100644
> --- a/docs/schemas/domaincommon.rng
> +++
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> ---
> docs/schemas/domaincommon.rng | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index 4d9f8d1..cff595b 100644
> --- a/docs/schemas/domaincommon.rng
> +++
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> ---
> src/conf/domain_conf.c | 24
> src/conf/domain_conf.h | 1 +
> 2 files changed, 25 insertions(+)
>
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index d5dff8e..deb0dce 100644
> ---
el == VIR_DOMAIN_CONTROLLER_MODEL_PCI_ROOT ||
> + cont->model == VIR_DOMAIN_CONTROLLER_MODEL_PCIE_ROOT) &&
> +cont->idx != 0) {
> virReportError(VIR_ERR_XML_ERROR, "%s",
> _("pci-root and p
On 06/12/2017 10:14 PM, Laine Stump wrote:
> On 06/12/2017 10:08 PM, Laine Stump wrote:
>> On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
>>> pSeries guests will soon be allowed to have multiple
>>> PHBs (pci-root controllers), which of course means that
>>>
On 06/13/2017 06:22 AM, Andrea Bolognani wrote:
> On Mon, 2017-06-12 at 22:02 -0400, Laine Stump wrote:
>>> Moving the check and rewriting it this way doesn't alter
>>> the current behavior, but will allow us to special-case
>>> pci-root down the line.
>&g
On 06/12/2017 10:08 PM, Laine Stump wrote:
> On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
>> pSeries guests will soon be allowed to have multiple
>> PHBs (pci-root controllers), which of course means that
>> all but one of them will have a non-zero index; hence,
&
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> pSeries guests will soon be allowed to have multiple
> PHBs (pci-root controllers), which of course means that
> all but one of them will have a non-zero index; hence,
> we'll need to relax the current check.
>
> However, right now the check is
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> Moving the check and rewriting it this way doesn't alter
> the current behavior, but will allow us to special-case
> pci-root down the line.
But this function should never be called for a controller with
model='pci-root'?
> ---
>
virDomainDef *domainDef,
>virDomainControllerDefPtr def,
>virQEMUCapsPtr qemuCaps,
> + char **devstr,
> int *nusbcontroller)
> {
> virBuffer buf = VIR_BUFFER_INITIALIZER;
Maybe i
thm
ended up give out a different address in some case (just in case someone
using transient domains with no pre-assigned PCI addresses was expecting
address stability), but I can't think of any way that would happen, and
the fact that the unit tests all pass indicates that it isn't happening.
Reviewed
ups/%d", dev->iommuGroup) < 0) {
> +ABORT("@tmp overflow");
> +}
> +make_symlink(devpath, "iommu_group", tmp);
> +
> if (pci_device_autobind(dev) < 0)
> ABORT("Unable to bind: %s", data->id);
>
> @@ -821,12
On 06/12/2017 05:20 AM, Andrea Bolognani wrote:
> On Mon, 2017-06-12 at 08:35 +0200, Ján Tomko wrote:
>>> Reviewed-by: Laine Stump <la...@laine.org>
>>>
>>> (This *is* the new hot way to say ACK, right?)
>>
>> It is not a replac
machines. Is
it more normal on PPC?
Reviewed-by: Laine Stump <la...@laine.org>
> ---
> tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml | 2 +-
> tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml | 2 +-
> tests/qemumemlockdata
On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
> Move @function after @flags to match other functions in the
> same module like virDomainPCIAddressReserveNextAddr().
I might have changed the other functions to put flags last (or maybe
not). Anyway, consistency is good.
Reviewed-by: Laine
yms
> index 429b095..901cc99 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -113,7 +113,6 @@ virDomainPCIAddressReserveNextAddr;
> virDomainPCIAddressSetAllMulti;
> virDomainPCIAddressSetAlloc;
> virDomainPCIAddressSetFree;
> -virDomainPCIAddressSetGrow
; -/* If adding to this struct, ensure that
> - * virDomainDeviceInfoIsSet() is updated
> - * to consider the new fields
> - */
> char *alias;
> int type; /* virDomainDeviceAddressType */
> union {
>
Reviewed-by: Laine Stump <la...@la
behave inconsistently.
>
> Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
> ---
> src/qemu/qemu_hotplug.c | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.
(tap not connected to any
bridges) as well, which is a win, so ACK.
> +
> for (i = 0; i < tapfdSize; i++) {
> if (qemuSecuritySetTapFDLabel(driver->securityManager,
>vm->def, tapfd[i]) < 0)
>
Reviewed-by: Laine
Commit 24d4a0a1f removed the non-existent "dying" state from the list
of possible domain states given in the virsh manpage, but didn't
correct the count of states from 8 down to 7. This patch fixes that
mismatch, while wording the sentence in a more readable/truthful
manner.
---
tools/virsh.pod |
On 05/26/2017 06:51 AM, Andrea Bolognani wrote:
> We can treat mdevs the same as all other PCI hostdevs
> and figure out whether they are PCI Express or legacy PCI
> by checking the size of their config space.
>
> Signed-off-by: Andrea Bolognani
> ---
>
On 05/19/2017 03:17 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanx...@gmail.com>
>
> Some vendor id or product id may have leading zeros.
> We should show them.
>
> Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
Reviewed-by: Laine Stump <la...@laine
This reverts commit 2841e675.
It turns out that adding the host_mtu field to the PCI capabilities in
the guest bumps the length of PCI capabilities beyond the 32 byte
boundary, so the virtio-net device gets 64 bytes of ioport space
instead of 32, which offsets the address of all the other
On 05/15/2017 06:15 PM, Vasiliy Tolstov wrote:
> Signed-off-by: Vasiliy Tolstov
> ---
> docs/formatdomain.html.in | 21 +
> docs/schemas/domaincommon.rng | 11 +++
> src/conf/domain_conf.c| 28
>
On 05/18/2017 04:32 PM, Vasiliy Tolstov wrote:
> 2017-05-17 15:28 GMT+03:00 Peter Krempa :
>>>
>>> Well, *I* think I've given sufficient reasons for having the two link
>>> states controlled separately, but since Dan and Peter had questioned its
>>> usefulness, we should see
On 05/17/2017 11:26 AM, Daniel P. Berrange wrote:
> On Tue, May 16, 2017 at 06:16:19PM -0400, Laine Stump wrote:
>> On 05/05/2017 10:22 AM, Julio Faracco wrote:
>>> This commit adds the support for 'downscript' feature:
>>> - For QEMU command line with the option:
>&
On 05/17/2017 03:51 AM, Vasiliy Tolstov wrote:
> 2017-05-17 4:25 GMT+03:00 Laine Stump <la...@laine.org>:
>> Oh, and I forgot to point out here (although I did in the original
>> thread last fall) that a toplevel historically only
>> affects the state of the interfac
On 05/16/2017 06:40 PM, Laine Stump wrote:
> On 05/16/2017 04:21 AM, Vasiliy Tolstov wrote:
>> 2017-05-16 11:16 GMT+03:00 Daniel P. Berrange <berra...@redhat.com>:
>>> Shouldn't we just tie the host & guest link state together then. This
>>> doesn't seem lik
On 05/16/2017 04:21 AM, Vasiliy Tolstov wrote:
> 2017-05-16 11:16 GMT+03:00 Daniel P. Berrange :
>> Shouldn't we just tie the host & guest link state together then. This
>> doesn't seem like enough of a reason to introduce new XML elements.
>
>
> Back to half year ago i'm
On 05/16/2017 06:27 PM, Laine Stump wrote:
> On 05/10/2017 04:58 AM, Vasiliy Tolstov wrote:
>> Hi! Sometimes ago i'm write patch for setting link state of network
>> interface for ethernet type (tap).
>> Now i'm try libvirt 3.3.0 and see, that tap interfaces is up but in
>
On 05/10/2017 04:58 AM, Vasiliy Tolstov wrote:
> Hi! Sometimes ago i'm write patch for setting link state of network
> interface for ethernet type (tap).
> Now i'm try libvirt 3.3.0 and see, that tap interfaces is up but in
> xml i'm try to specify
>
> also i'm try
>
> Nothing changed. Laine
On 05/05/2017 10:22 AM, Julio Faracco wrote:
> This commit adds the support for 'downscript' feature:
> - For QEMU command line with the option:
> '-net downscript=/etc/qemu-ifdown,...'.
>
> - For Domains with a network interface description:
> '
> ...
>
> ...
> '
>
> The
On 05/04/2017 11:03 AM, Erik Skultety wrote:
> So, because mingw is somehow OK with dereferencing a pointer within a
> VIR_DEBUG macro, compared to outside of it to which it complained with a
> "potential NULL pointer dereference" error (still a false positive), we
> can make the code a tiny bit
E: lu.zhip...@zte.com.cn <mailto:lu.zhip...@zte.com.cn>
> www.zte.com.cn <http://www.zte.com.cn/>
>
> 原始邮件
> *发件人:*<berra...@redhat.com <mailto:berra...@redhat.com>>;
> *收件人:*<la...@laine.org <mailto:la...@laine.org>>;
> *抄送人:*<libvir
essing the pointer later.
>
> Signed-off-by: Erik Skultety <eskul...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
(Oh, and "safe for freeze", in case that wasn't assumed. Same goes for 2/2)
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ad () from /lib64/libpthread.so.0
> 0x73d269cf in clone () from /lib64/libc.so.6
>
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1446455
>
> Signed-off-by: Erik Skultety <eskul...@redhat.com>
Reviewed-by: Laine Stump <la...@laine.org>
or ACK, or whate
On 04/28/2017 07:23 PM, Joel Wirāmu Pauling wrote:
> Possibly related I notice race conditions caused by vnic never getting
> loaded if an existing bridge is already up (by OS init scripts etc) and
> stopping VM's from getting started.
Can you explain this more exactly? In particular, by "vnic"
On 04/28/2017 05:33 AM, Daniel P. Berrange wrote:
> On Fri, Apr 28, 2017 at 05:23:19PM +0800, ZhiPeng Lu wrote:
>> Creating tap device and adding the device to bridge are not atomic operation.
>> Similarly deleting tap device and removing it from bridge are not atomic
>> operation.
>> The Problem
Nothing that could happen during networkNotifyActualDevice() could
justify unceremoniously killing the qemu process, but that's what we
were doing.
In particular, new code added in commit 85bcc022 (first appearred in
libvirt-3.2.0) attempts to reattach tap devices to their assigned
bridge devices
If the network isn't active during networkNotifyActualDevice(), we
would log an error message stating that the bridge device didn't
exist. This patch adds a check to see if the network is active, making
the logs more useful in the case that it isn't.
Partially resolves:
John thought I didn't go far enough in my removal of return codes in V1...
Laine Stump (2):
qemu: don't kill qemu process on restart if networkNotify fails
network: better log message when network is inactive during reconnect
src/network/bridge_driver.c | 17 +++--
src/network
On 04/27/2017 09:06 AM, John Ferlan wrote:
>
>
> On 04/26/2017 05:57 PM, Laine Stump wrote:
>> On 04/26/2017 02:39 PM, John Ferlan wrote:
>>>
>>>
>>> On 04/25/2017 12:34 PM, Laine Stump wrote:
>>>> If the network isn't active during networkNo
On 04/26/2017 02:39 PM, John Ferlan wrote:
>
>
> On 04/25/2017 12:34 PM, Laine Stump wrote:
>> If the network isn't active during networkNotifyActualDevice(), we
>> would log an error message stating that the bridge device didn't
>> exist. This patch adds a check to s
On 04/26/2017 02:39 PM, John Ferlan wrote:
>
>
> On 04/25/2017 12:33 PM, Laine Stump wrote:
>> Nothing that could happen during networkNotifyActualDevice() could
>> justify unceremoniously killing the qemu process, but that's what we
>> were doing.
>
> So that
On 04/26/2017 06:38 AM, Cédric Bosdonnat wrote:
> If several RA routes are found for the same device, only list that
> device once in the error message.
> ---
> src/util/virnetdevip.c | 10 +-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/src/util/virnetdevip.c
On 04/25/2017 05:13 AM, ZhiPeng Lu wrote:
> Adding this feature will allow users to attach a network to linux bridge
> or openvswitch. The interface can be attached using --brtype=linux or
> --brtype=openvswitch. If --brtype is not set, the network is attached
> to linux bridge.
Rather than
MACVTAP_NAME_PREFIX and MACVLAN_NAME_PREFIX could be useful to other
files if they were defined in virnetdevmacvlan.h instead of
virnetdevmacvlan.c, so do that (while slightly renaming them and also
adding yet another #define that chooses between macvlan/macvtap based
on flags).
This is a
... with VIR_NET_GENERATED_MACV???_PREFIX, which is defined in
util/virnetdevmacvlan.h.
Since VIR_NET_GENERATED_PREFIX is used for plain tap devices, it is
renamed to VIR_NET_GENERATED_TAP_PREFIX and moved to virnetdev.h
---
src/bhyve/bhyve_command.c | 4 ++--
src/conf/domain_conf.c
e V1:
* make a single #define for each of MACVLAN_PREFIX and MACVTAP_PREFIX
in virnetdevmacvlan.h rather than duplicating #defines from
virnetdevmacvlan.c into domain_conf.h (as suggested by Martin
* move/rename the auto-generated prefix for regular tap devices to be
consistent with the macvtap/
The parser had been clearing out *all* suggested device names for
type='direct' (aka macvtap) interfaces. All of the code implementing
macvtap allows for a user-specified device name, so we should allow
it. In the case that an interface name starts with "macvtap" or
"macvlan" though, we do still
If the network isn't active during networkNotifyActualDevice(), we
would log an error message stating that the bridge device didn't
exist. This patch adds a check to see if the network is active, making
the logs more useful in the case that it isn't.
Partially resolves:
Nothing that could happen during networkNotifyActualDevice() could
justify unceremoniously killing the qemu process, but that's what we
were doing.
In particular, new code added in commit 85bcc022 (first appearred in
libvirt-3.2.0) attempts to reattach tap devices to their assigned
bridge devices
The individual patches explain themselves.
Laine Stump (2):
qemu: don't kill qemu process on restart if networkNotify fails
network: better log message when network is inactive during reconnect
src/network/bridge_driver.c | 7 +++
src/qemu/qemu_process.c | 9 +++--
2 files
From: Laine Stump <la...@redhat.com>
Commit f4ef3a71 made a variation of virNetDevSetMAC that would return
without logging an error message if errno was set to
EADDRNOTAVAIL. This errno is set by some SRIOV VF drivers (in
particular igbvf) when they fail to set the device's MAC addre
From: Laine Stump <la...@redhat.com>
Commit f4ef3a71 made a variation of virNetDevSetMAC that would return
without logging an error message if errno was set to
EADDRNOTAVAIL. This errno is set by some SRIOV VF drivers (in
particular igbvf) when they fail to set the device's MAC addre
On 03/01/2017 04:55 AM, Shivaprasad G Bhat wrote:
> This enables GEN4 link speed (16GT/s) property to be fetched properly and thus
> allows the detach/reattach/dumpxml to work.
>
I"m so accustomed to talking about *network* link speeds, that it took
me a couple minutes to recognize this was
On 03/31/2017 07:20 AM, Michal Privoznik wrote:
> On 03/30/2017 06:00 PM, Laine Stump wrote:
>> On 03/28/2017 05:08 AM, Michal Privoznik wrote:
>>> On 03/28/2017 02:22 AM, Laine Stump wrote:
>>>> On 03/22/2017 10:43 AM, Michal Privoznik wrote:
>>>
>>&
On 03/28/2017 05:08 AM, Michal Privoznik wrote:
> On 03/28/2017 02:22 AM, Laine Stump wrote:
>> On 03/22/2017 10:43 AM, Michal Privoznik wrote:
>
>>
>>>
>>> Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
>>> ---
>>> src/ne
On 03/29/2017 04:02 AM, Michal Privoznik wrote:
> Since its introduction in 1ce4922e720 this function lived as an
> outcast in an #if 0 block.
My memory is faint now, but I believe radvd as a whole is now nearly
unused, since dnsmasq gained the same functionality (route
advertisement) soon after
On 03/28/2017 10:05 PM, yonglihe wrote:
> On 2017年03月27日 15:42, yonglihe wrote:
>>
>> Verify Summary:
>> * the none rooted mode starting a high-privileges VM actually.
>>
>> The configurations is source generated default value except tls disabled.
>>
>>
>> 1. rooted
>>
>> virsh define
On 03/22/2017 10:43 AM, Michal Privoznik wrote:
> The virMacMap module is there for dumping [domain, MACs>] pairs into a file so that libvirt_guest NSS module can use
> it. Whenever a interface is allocated from network (e.g. on
> domani startup or NIC hotplug), network is notified and so is
On 03/27/2017 01:42 PM, John Ferlan wrote:
> v1:
> https://www.redhat.com/archives/libvir-list/2017-March/msg01227.html
>
> changes since v1:
>
> Split things part - added news article
>
> John Ferlan (4):
> conf: Set defaultFormat if no storage source XML present
> virsh.pod: Move the
On 03/27/2017 11:37 AM, John Ferlan wrote:
>
>
> On 03/26/2017 08:38 PM, Laine Stump wrote:
>> On 03/25/2017 08:18 AM, John Ferlan wrote:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1398087
>>>
>>> Clean up the virsh man page description for --pool
On 03/27/2017 12:33 PM, Roman Bogorodskiy wrote:
> - Add a news entry
> - Update the driver page with documentation of the new options
>and some examples
> ---
> docs/drvbhyve.html.in | 94
> +++
> docs/news.xml | 13 +++
> 2
On 03/27/2017 12:47 PM, John Ferlan wrote:
> Rather than 'n' repetitive code segments, let's create a single macro
> which will make the code easier to read.
>
> Signed-off-by: John Ferlan
> ---
> daemon/remote.c | 126
>
On 03/27/2017 11:40 AM, John Ferlan wrote:
>
>
> On 03/27/2017 11:30 AM, Martin Kletzander wrote:
>> Similarly to eec3b255d26e7b38bdb0830990569fd91aee661f, fix build with
>> lv_cv_static_analysis=yes.
>>
>> Caused by a4a39d90ab4930750bcbcfccffdf6bb6d310b5d5
>> ---
>> src/util/virhostdev.c | 4
1601 - 1700 of 6183 matches
Mail list logo