Michal Privoznik
d6a8b9eef7
qemu_interface: Fix managed='no' case when creating an ethernet interface
...
In a recent commit of v9.0.0-rc1~192 I've tried to forbid case
where a TAP device already exists, but at the same time it's
managed by Libvirt (<interface type='ethernet'> <target
dev='tap0' managed='yes'/> </interface>). NB, if @managed
attribute is missing then it's assumed to be managed by Libvirt.
Anyway, I've mistakenly put setting of
VIR_NETDEV_TAP_CREATE_ALLOW_EXISTING flag into managed='yes'
branch instead of managed='no' branch in
qemuInterfaceEthernetConnect().
Move the setting of the flag into the correct branch.
Fixes: a2ae3d299cf9c5ada8aa42ec4271748eb479dc27
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2023-01-23 12:29:12 +01:00
..
2020-08-03 09:27:04 +02:00
2022-10-20 08:58:10 +02:00
2023-01-10 01:19:25 -05:00
2022-02-09 13:03:33 +01:00
2022-12-02 16:18:37 +01:00
2022-11-08 12:10:50 +01:00
2022-11-11 14:06:47 +01:00
2022-08-11 15:14:18 +02:00
2023-01-09 13:32:48 +01:00
2022-08-10 16:50:07 +02:00
2023-01-09 14:59:43 +01:00
2023-01-09 14:40:39 +01:00
2023-01-09 13:32:48 +01:00
2023-01-09 13:32:48 +01:00
2023-01-09 14:24:27 -05:00
2023-01-09 14:24:27 -05:00
2022-07-18 17:23:15 +02:00
2023-01-09 14:59:43 +01:00
2022-06-16 06:43:57 +02:00
2022-09-07 12:14:07 +02:00
2022-06-16 06:43:57 +02:00
2023-01-13 08:43:30 +01:00
2023-01-10 01:19:25 -05:00
2023-01-09 14:24:27 -05:00
2023-01-09 14:24:27 -05:00
2022-06-16 06:43:57 +02:00
2021-04-13 17:00:38 +02:00
2022-11-11 14:06:34 +01:00
2022-06-16 06:43:57 +02:00
2023-01-10 01:19:25 -05:00
2023-01-10 01:19:25 -05:00
2023-01-06 16:17:38 +01:00
2022-09-07 12:15:28 +02:00
2023-01-10 15:54:52 +01:00
2023-01-10 01:19:25 -05:00
2022-12-05 14:25:15 +01:00
2022-06-06 09:42:58 +02:00
2022-05-17 19:31:08 +02:00
2022-07-26 15:41:44 +01:00
2021-04-13 17:00:38 +02:00
2022-06-16 06:43:57 +02:00
2022-06-16 06:43:57 +02:00
2023-01-10 01:19:25 -05:00
2022-08-10 16:50:07 +02:00
2023-01-23 12:29:12 +01:00
2022-07-18 17:23:15 +02:00
2022-06-16 06:43:57 +02:00
2022-12-01 11:01:58 +01:00
2022-12-01 11:01:58 +01:00
2022-12-02 16:18:37 +01:00
2022-12-02 16:18:37 +01:00
2022-07-01 11:28:34 +02:00
2023-01-06 16:17:38 +01:00
2023-01-06 15:30:09 +01:00
2023-01-09 13:32:44 +01:00
2023-01-09 13:32:44 +01:00
2022-11-09 14:08:31 +01:00
2022-08-11 15:23:21 +02:00
2022-08-11 15:23:21 +02:00
2023-01-09 13:32:44 +01:00
2023-01-09 13:32:44 +01:00
2023-01-05 16:46:55 +01:00
2022-09-23 16:33:09 +02:00
2023-01-13 10:02:05 +01:00
2023-01-10 01:19:25 -05:00
2023-01-10 01:19:25 -05:00
2023-01-06 15:30:09 +01:00
2022-05-24 16:26:04 +02:00
2022-06-16 06:43:57 +02:00
2021-04-13 17:00:38 +02:00
2022-10-20 08:48:14 +02:00
2022-06-16 06:43:57 +02:00
2023-01-03 17:19:22 +01:00
2023-01-03 17:19:22 +01:00
2022-06-16 06:43:57 +02:00
2022-08-23 16:14:05 +02:00
2022-05-16 09:15:46 +02:00
2023-01-09 14:13:25 +01:00
2023-01-09 13:32:55 +01:00
2023-01-03 17:19:22 +01:00
2022-11-09 12:26:42 +01:00
2023-01-10 01:19:25 -05:00
2022-06-16 06:43:57 +02:00
2022-08-23 16:14:05 +02:00
2022-06-16 06:43:57 +02:00
2022-06-16 06:43:57 +02:00
2022-06-16 06:43:57 +02:00
2022-10-20 09:00:02 +02:00
2021-10-12 14:12:11 +02:00
2022-11-11 16:48:48 +01:00
2022-10-20 08:58:10 +02:00
2023-01-18 11:06:13 -07:00