[libvirt-users] Resource control is not supported on this host

2018-03-13 Thread Allence
Libvirt release version V4.1.0 It add a element is cachetune After we add this, We can use host-cpu-cache But when i add it, my host get a error message: "Resource control is not supported on this host" Why? Following is my environment: kernel :4.1.5, libvirt :4.1.0 qemu :

[libvirt-users] libvirt connect vmware workstation fail

2018-03-13 Thread ??????
bash: vmwarews+ssh://jc@127.0.0.1/session: No such file or directory [jc@te ~]$ virsh -c vmwarews+ssh://jc@127.0.0.1/session ssh [jc@te ~]$ virsh -c vmwarews+ssh://root@127.0.0.1/session

Re: [libvirt-users] libvirt connect vmware workstation fail

2018-03-13 Thread Daniel P . Berrangé
On Tue, Mar 13, 2018 at 03:56:30PM +0800, 吴金灿 wrote: > bash: vmwarews+ssh://jc@127.0.0.1/session: No such file or directory > [jc@te ~]$ virsh -c vmwarews+ssh://jc@127.0.0.1/session > 错误:连接到管理程序失败 > 错误:不支持的操作:ssh 连接驱动程序不支持在没有套接字路径的情况下连接到会话实例 > [jc@te ~]$ virsh -c vmwarews+ssh://root@127.0.0.1/s

[libvirt-users] Xen PVH Support in libvirt

2018-03-13 Thread Tizian Lamatsch
Hello @ all, i wonder if there is any support for Xen PVH (https://wiki.xen.org/wiki/Xen_Project_Software_Overview) within libvirt. If i parse a xen native domU config file with 'virsh domxml-from-native' in which i set type='pvh' it changes it in the libvirt xml output to normal pv. Also the do

[libvirt-users] auto propagate interface status change

2018-03-13 Thread John Lemon
Hello, I'm trying to automatically pass interface status changes (e.g. LAN cable connection/disconnection, ) to a QEMU Debian virt, but the status in the virt is always 'up' (i.e. 'virsh domif-getlink 3 macvtap0' == up). I'v tried setting 'virsh domif-setlink 3 macvtap1 up' or down, which works

Re: [libvirt-users] Specify DNS and gateway for dnsmasq

2018-03-13 Thread Michal Privoznik
On 03/12/2018 06:45 PM, Gionatan Danti wrote: > Hi all, > how I can set dhcp options as DNS, gateway, etc in libvirt's network > definitions? The default GW depends on the IP address you assigned to your network: This says the default GW is 192.168.122.1/24. However, you can insert other routes

Re: [libvirt-users] Resource control is not supported on this host

2018-03-13 Thread Michal Privoznik
On 03/13/2018 09:51 AM, Allence wrote: > Libvirt release version V4.1.0 > It add a element is cachetune > After we add this, We can use host-cpu-cache > But when i add it, my host get a error message: > "Resource control is not supported on this host" > Why? For Cache Allocation Technology you ne

Re: [libvirt-users] Specify DNS and gateway for dnsmasq

2018-03-13 Thread Gionatan Danti
On 13/03/2018 15:30, Michal Privoznik wrote:> The default GW depends on the IP address you assigned to your network: This says the default GW is 192.168.122.1/24. However, you can insert other routes too: For handling DNS, you need to focus on element. For instance, to set a different forw

Re: [libvirt-users] Resource control is not supported on this host

2018-03-13 Thread Peter Krempa
On Tue, Mar 13, 2018 at 15:34:00 +0100, Michal Privoznik wrote: > On 03/13/2018 09:51 AM, Allence wrote: > > Libvirt release version V4.1.0 > > It add a element is cachetune > > After we add this, We can use host-cpu-cache > > But when i add it, my host get a error message: > > "Resource control is

Re: [libvirt-users] Resource control is not supported on this host

2018-03-13 Thread Daniel P . Berrangé
On Tue, Mar 13, 2018 at 05:13:52PM +0100, Peter Krempa wrote: > On Tue, Mar 13, 2018 at 15:34:00 +0100, Michal Privoznik wrote: > > On 03/13/2018 09:51 AM, Allence wrote: > > > Libvirt release version V4.1.0 > > > It add a element is cachetune > > > After we add this, We can use host-cpu-cache > >

Re: [libvirt-users] Specify DNS and gateway for dnsmasq

2018-03-13 Thread Laine Stump
On 03/13/2018 11:08 AM, Gionatan Danti wrote: > On 13/03/2018 15:30, Michal Privoznik wrote:> The default GW depends on > the IP address you assigned to your network: >> >> >> >> This says the default GW is 192.168.122.1/24. However, you can insert >> other routes too: >> >> ...however this woul

Re: [libvirt-users] Xen PVH Support in libvirt

2018-03-13 Thread Jim Fehlig
On 03/13/2018 06:10 AM, Tizian Lamatsch wrote: Hello @ all, i wonder if there is any support for Xen PVH (https://wiki.xen.org/wiki/Xen_Project_Software_Overview) within libvirt. No, PVH is currently not supported in the libvirt libxl driver. If i parse a xen native domU config file with 'vi