Displaying 20 results from an estimated 200 matches similar to: "Check Swap Usage on Guest VM from Host"
2013 Jun 17
0
Unable to setup qemu-guest-agent
Could anyone please list out the steps required to run the command
$virsh qemu-agent-command
Steps that I followed:
1. Clone the latest source code of libvirt
2. Create a vm of f18 (source:liveCD)
3. Edit f18 domain xml and add this:
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/f16x86_64.agent'/>
<target type='virtio'
2013 Nov 22
1
Re: Query:: Reg: Libvirt Networking
>
> (iii) If the answer for (ii) is false, how can I obtain the interface name
> for a given bridge name in libvirt?
>
>
> What do you mean by "the interface name for a given bridge name"? A bridge
> *is* a type of network device, i.e. an interface from the host's point of
> view.
>
Apologies for the typo error. I was actually asking:
How can I obtain the
2013 Nov 21
2
Query:: Reg: Libvirt Networking
Currently, I have two networks configured via xml:
virsh # net-dumpxml TestNetwork1
<network connections='2'>
<name>TestNetwork1</name>
<uuid>a76f665a-0196-4edb-81b4-340944a6869c</uuid>
<forward dev='p1p1' mode='nat'>
<nat>
<port start='1024' end='65535'/>
</nat>
<interface
2013 Nov 22
0
Re: Query:: Reg: Libvirt Networking
On 11/21/2013 11:24 PM, Nehal J Wani wrote:
> Currently, I have two networks configured via xml:
>
> virsh # net-dumpxml TestNetwork1
> <network connections='2'>
> <name>TestNetwork1</name>
> <uuid>a76f665a-0196-4edb-81b4-340944a6869c</uuid>
> <forward dev='p1p1' mode='nat'>
> <nat>
>
2013 Mar 19
2
Errors while using blkiotune command
Hi all,
I want to limit the I/O bandwidth inside the container, so I used virsh
command blkiotune. But when I enter a command:
virsh # blkiotune lxcguest --weight 250
I get following errors:
error: Unable to change blkio parameters
error: Requested operation is not valid: blkio cgroup isn't mounted
I also have blkio cgroup mounted. What can be the problem?
Thanks in advance.
Regards,
2013 Nov 11
2
User Namespace in LXC
Hi all,
I'm trying to restrict privileges of root user inside the container. I
searched about it and got to know about "idmap" element in domain XML.
I added "idmap" element in my container's XML file:
<idmap>
<uid start='0' target='1000' count='10'/>
<gid start='0' target='1000' count='10'/>
2013 Jul 19
2
pinVcpu not working
Hi all,
I am working with libvirt and I am trying to set cpu affinity. Now I can always use
virsh vcpupin <domain_name> <vcpu> <pcpu>
to pin vcpus to pcpus. I want to do it using Python API. Now, there is function pinVcpu which is supposed to do that. But this is not working. For example I gave
dom.pinVcpu(0,1)
but still my vcpu affinity is for all the pcpus. The
2013 Nov 13
2
Re: User Namespace in LXC
Hi Gao,
I checked the output of "lxc-checkconfig" command and it showed
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
*User namespace: missing*
Network namespace: enabled
Multiple /dev/pts instances: enabled
Here it shows that User namespace support is missing. I tried to check for
Namespaces Support in kernel
2013 Nov 11
2
Re: User Namespace in LXC
Hi Gao,
I appreciate your quick reply.
>you can try create a file in container, and on host, the owner of this
file is uid=1000.
>and on the other side, if a file's owner is uid 1000 on host. in this
container, you will
>see the owner of this file is uid 0.
I tried creating a file inside the container with root user. When I checked
uid of the file on the host,
it still gives me uid
2013 Aug 25
4
The error for creating a new vm for kvm
I checked the capabilities. I do not know why the guest is only for vbox.
<guest>
<os_type>hvm</os_type>
<arch name='i686'>
<wordsize>32</wordsize>
<domain type='vbox'>
</domain>
</arch>
</guest>
I want it run qemu-kvm. and when i run virsh define
/etc/libvirt/qemu/demo.xml. It shows error:
2013 Mar 12
1
Check memory inside a container
Hi all,
I'm new to LXC and libvirt. I have created a LXC container using libvirt.
In domain XML file I have mentioned "memory" and "current memory" as 256
MB.
Now I want to check the memory inside the container, but whenever I run top
command or try to cat /proc/meminfo, it shows host machine's memory which
is 3GB.
So is there any command by which I can check
2016 May 11
0
[PATCH] drm/nouveau/bios: remove unused variable.
Remove unused vairable, return 0 explicitly.
Signed-off-by: Muhammad Falak R Wani <falakreyaz at gmail.com>
---
drivers/gpu/drm/nouveau/nouveau_bios.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 4dca65a..5449838 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++
2019 Apr 05
2
Seek some help on operating system drivers. Thanks!
Hello, I am a user of CentOS 7.6. I came here for help.
I recently bought a microserver called HPE Proliant MicroServer Gen10(X3216 APU).
CentOS 7.6 was installed for it. I found that the fan of the machine would keep turning and the noise was very loud. I searched everywhere but I couldn't find any way out.
Pardon my ignorance showing. I don?t know where to seek help.
When I use
2006 Dec 15
6
Samba Configuration on Linux
Hi All
I am trying configuring samba on my linux machine. Below is the smb.conf
file. After starting the samba services (smbd and nmbd), i am not able
to access the samba exported folder from my network.
[global]
workgroup = TEST1
hosts allow = 10.2. 127.
log file = /var/log/samba/%m.log
max log size = 500
security = USER
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username
2010 Jun 04
3
[LLVMdev] Inserting a function call into bitcode
Hi Nick
I am not quite sure what you meant by verifier. I checked online documents
and found that there is a function verifyAnalysis() in Pass but it is empty.
So do you suggest implementing that function? If it is the case, what should
I look while implementing that function? Or something else altogether?
Thanks,
Nehal.
-----Original Message-----
From: Nick Lewycky [mailto:nicholas at mxc.ca]
2010 Jun 05
0
[LLVMdev] Inserting a function call into bitcode
Nehal Gandhi wrote:
> Hi Nick
>
> I am not quite sure what you meant by verifier. I checked online documents
> and found that there is a function verifyAnalysis() in Pass but it is empty.
> So do you suggest implementing that function? If it is the case, what should
> I look while implementing that function? Or something else altogether?
I'm assuming you have a PassManager
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
Hi Eli,
I have attached a tar file containing Pass (ConditionPass.cpp), External
function (PrintRes.cpp) and test program (try.c). I use command chain as
describe in previous mail.
Thanks,
Nehal.
-----Original Message-----
From: Eli Friedman [mailto:eli.friedman at gmail.com]
Sent: Friday, June 04, 2010 3:39 AM
To: Nehal Gandhi
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Inserting a
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Fri, Jun 4, 2010 at 1:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote:
> Hi Eli,
>
> I have attached a tar file containing Pass (ConditionPass.cpp), External
> function (PrintRes.cpp) and test program (try.c). I use command chain as
> describe in previous mail.
Can you just attach the final program.bc you pass to lli? I don't
know how to build a plugin off the top of
2010 Jun 04
1
[LLVMdev] Inserting a function call into bitcode
Here you go.
-----Original Message-----
From: Eli Friedman [mailto:eli.friedman at gmail.com]
Sent: Friday, June 04, 2010 7:42 AM
To: Nehal Gandhi
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Inserting a function call into bitcode
On Fri, Jun 4, 2010 at 1:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote:
> Hi Eli,
>
> I have attached a tar file containing Pass
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote:
>> Hi Eli,
>>
>> Thanks for that. Rookie mistake on my side. It solves the linking issue.
>> However, it was not the main problem. The problem is when I execute the
>> linked file ( modified bitcode + file containing the function), I get an
>> assertion error - Assertion `Addr