<p dir="ltr">What's the current status of running bridging through wireless adapters. Apple and windows all have an answer that requires no manual configuration. It would be nice if virt-manager were able to do the same.</p>
<div class="gmail_quote">On Jan 10, 2015 11:02 AM,  <<a href="mailto:virt-tools-list-request@redhat.com">virt-tools-list-request@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send virt-tools-list mailing list submissions to<br>
        <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:virt-tools-list-request@redhat.com">virt-tools-list-request@redhat.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:virt-tools-list-owner@redhat.com">virt-tools-list-owner@redhat.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of virt-tools-list digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: [virt-manager PATCH] storagebrowse: refresh storage pool<br>
      when open browse window or selecting a new item (Cole Robinson)<br>
   2. Re: [virt-manager PATCH] virtinst: do not add     default<br>
      channels if one is already present (Giuseppe Scrivano)<br>
   3. Re: [virt-manager PATCH] virtinst: do not add default<br>
      channels if one is already present (Cole Robinson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 09 Jan 2015 12:03:46 -0500<br>
From: Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>><br>
To: Chen Hanxiao <<a href="mailto:chenhanxiao@cn.fujitsu.com">chenhanxiao@cn.fujitsu.com</a>>,<br>
        <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
Subject: Re: [virt-tools-list] [virt-manager PATCH] storagebrowse:<br>
        refresh storage pool when open browse window or selecting a new item<br>
Message-ID: <<a href="mailto:54B009F2.5020103@redhat.com">54B009F2.5020103@redhat.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Please read this email I sent regarding refreshing pools:<br>
<br>
<a href="http://www.redhat.com/archives/virt-tools-list/2014-December/msg00036.html" target="_blank">http://www.redhat.com/archives/virt-tools-list/2014-December/msg00036.html</a><br>
<br>
On 12/22/2014 10:59 PM, Chen Hanxiao wrote:<br>
> do a refresh operation when:<br>
> a) open 'Locate or create storage volume' window<br>
> b) select a new item in 'Storage Pools' list<br>
><br>
<br>
refresh is supposed to be a potentially long running operation, so performing<br>
it every time a pool is selected is not acceptable. There's an explicit<br>
refresh button, people need to use that.<br>
<br>
Performing a refresh when launching the 'create volume' dialog should be okay,<br>
but stick it in createvol.py so it covers all cases<br>
<br>
- Cole<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 09 Jan 2015 18:20:43 +0100<br>
From: Giuseppe Scrivano <<a href="mailto:gscrivan@redhat.com">gscrivan@redhat.com</a>><br>
To: Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>><br>
Cc: <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
Subject: Re: [virt-tools-list] [virt-manager PATCH] virtinst: do not<br>
        add     default channels if one is already present<br>
Message-ID: <<a href="mailto:87387jvpjo.fsf@redhat.com">87387jvpjo.fsf@redhat.com</a>><br>
Content-Type: text/plain<br>
<br>
Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> writes:<br>
<br>
> On 01/09/2015 06:29 AM, Giuseppe Scrivano wrote:<br>
>> Closes: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1179680" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1179680</a><br>
>><br>
><br>
> I don't think that test case would have triggered the original behavior, you'd<br>
> need to use the fake KVM URI, grep clitest.py for xml-comparison<br>
><br>
> That said, I think the problem is elsewhere? That reproducing command from the<br>
> bug works fine on F21. The idea was that --channel none will turn off all<br>
> default channels, but we only skip adding the spicevmc defaults if a user has<br>
> specified --channel spicevmc. So if someone is adding their own custom<br>
> --channel pty, they don't have to re-specify the spicevmc one as well.<br>
><br>
> Maybe it's non-intuitive but that's what the code does at the moment (we<br>
> really need some explicit fine grained way of turning off individual defaults<br>
> but that's a larger effort).<br>
><br>
> I'm not really sure where the error is coming from on RHEL... be useful to see<br>
> the full XML and qemu command line that is being generated.<br>
<br>
I was able to reproduce both using the libvirt upstream version and the<br>
version on virt-preview.  It seems that the problem is caused by the<br>
fact that libvirt assigns the name "com.redhat.spice.0" to channels if<br>
it is not already specified and this clashes with the spicevmc channel.<br>
The generating this in libvirt seems to be old, git blame says 2013 for<br>
the last change.  Probably it is something changed in qemu that started<br>
complaining if the same name is used more than once.<br>
<br>
Thinking more of it, probably the fix should go into libvirt, the XML<br>
definition that causes the failure here looks like this (omitting<br>
name="com.redhat.spice.0" does not make any difference):<br>
<br>
<domain type="kvm"><br>
  <name>demo</name><br>
  <uuid>5b7cb920-9d1e-440e-abab-47d353afafe0</uuid><br>
  <memory>1048576</memory><br>
  <currentMemory>1048576</currentMemory><br>
  <vcpu>1</vcpu><br>
  <os><br>
    <type arch="x86_64">hvm</type><br>
    <boot dev="hd"/><br>
  </os><br>
  <features><br>
    <acpi/><br>
    <apic/><br>
    <pae/><br>
  </features><br>
  <cpu mode="custom" match="exact"><br>
    <model>SandyBridge</model><br>
  </cpu><br>
  <clock offset="utc"><br>
    <timer name="rtc" tickpolicy="catchup"/><br>
    <timer name="pit" tickpolicy="delay"/><br>
    <timer name="hpet" present="no"/><br>
  </clock><br>
  <on_poweroff>destroy</on_poweroff><br>
  <on_reboot>restart</on_reboot><br>
  <on_crash>restart</on_crash><br>
  <devices><br>
    <emulator>/bin/qemu-kvm</emulator><br>
    <disk type="file" device="disk"><br>
      <driver name="qemu" type="qcow2"/><br>
      <source file="/var/lib/libvirt/images/demo.img"/><br>
      <target dev="vda" bus="virtio"/><br>
    </disk><br>
    <controller type="usb" index="0" model="ich9-ehci1"/><br>
    <controller type="usb" index="0" model="ich9-uhci1"><br>
      <master startport="0"/><br>
    </controller><br>
    <controller type="usb" index="0" model="ich9-uhci2"><br>
      <master startport="2"/><br>
    </controller><br>
    <controller type="usb" index="0" model="ich9-uhci3"><br>
      <master startport="4"/><br>
    </controller><br>
    <interface type="network"><br>
      <source network="default"/><br>
      <mac address="52:54:00:b0:9c:fa"/><br>
      <model type="virtio"/><br>
    </interface><br>
    <input type="tablet" bus="usb"/><br>
    <graphics type="spice" port="-1" tlsPort="-1" autoport="yes"/><br>
    <console type="pty"/><br>
    <channel type="pty"><br>
      <target type="virtio"/><br>
    </channel><br>
    <channel type="spicevmc"><br>
      <target type="virtio" name="com.redhat.spice.0"/><br>
    </channel><br>
    <sound model="ich6"/><br>
    <video><br>
      <model type="qxl"/><br>
    </video><br>
    <redirdev bus="usb" type="spicevmc"/><br>
    <redirdev bus="usb" type="spicevmc"/><br>
  </devices><br>
</domain><br>
<br>
Thanks,<br>
Giuseppe<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 09 Jan 2015 12:24:36 -0500<br>
From: Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>><br>
To: Giuseppe Scrivano <<a href="mailto:gscrivan@redhat.com">gscrivan@redhat.com</a>><br>
Cc: <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
Subject: Re: [virt-tools-list] [virt-manager PATCH] virtinst: do not<br>
        add default channels if one is already present<br>
Message-ID: <<a href="mailto:54B00ED4.4010503@redhat.com">54B00ED4.4010503@redhat.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On 01/09/2015 12:20 PM, Giuseppe Scrivano wrote:<br>
> Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> writes:<br>
><br>
>> On 01/09/2015 06:29 AM, Giuseppe Scrivano wrote:<br>
>>> Closes: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1179680" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1179680</a><br>
>>><br>
>><br>
>> I don't think that test case would have triggered the original behavior, you'd<br>
>> need to use the fake KVM URI, grep clitest.py for xml-comparison<br>
>><br>
>> That said, I think the problem is elsewhere? That reproducing command from the<br>
>> bug works fine on F21. The idea was that --channel none will turn off all<br>
>> default channels, but we only skip adding the spicevmc defaults if a user has<br>
>> specified --channel spicevmc. So if someone is adding their own custom<br>
>> --channel pty, they don't have to re-specify the spicevmc one as well.<br>
>><br>
>> Maybe it's non-intuitive but that's what the code does at the moment (we<br>
>> really need some explicit fine grained way of turning off individual defaults<br>
>> but that's a larger effort).<br>
>><br>
>> I'm not really sure where the error is coming from on RHEL... be useful to see<br>
>> the full XML and qemu command line that is being generated.<br>
><br>
> I was able to reproduce both using the libvirt upstream version and the<br>
> version on virt-preview.  It seems that the problem is caused by the<br>
> fact that libvirt assigns the name "com.redhat.spice.0" to channels if<br>
> it is not already specified and this clashes with the spicevmc channel.<br>
> The generating this in libvirt seems to be old, git blame says 2013 for<br>
> the last change.  Probably it is something changed in qemu that started<br>
> complaining if the same name is used more than once.<br>
><br>
> Thinking more of it, probably the fix should go into libvirt, the XML<br>
> definition that causes the failure here looks like this (omitting<br>
> name="com.redhat.spice.0" does not make any difference):<br>
<br>
Ah I see. Yeah in that case I'd say libvirt continues to add the spice name<br>
for type=spicevmc, but for any other channel it complains about missing target<br>
name.<br>
<br>
- Cole<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
virt-tools-list mailing list<br>
<a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
<br>
End of virt-tools-list Digest, Vol 67, Issue 9<br>
**********************************************<br>
</blockquote></div>