Re: [CentOS-virt] Would a hardware TRNG benefit VMs?

2013-07-15 Thread Stefano Stabellini
On Sat, 13 Jul 2013, Digimer wrote:
> Hi all,
> 
>I've been curious about using hardware true random number generators 
> in my VM clusters. This got me wondering about the VM's /dev/random 
> source... If I setup a hardware TRNG on the host, would the VM's also 
> benefit from it?

Xen VMs would not be able to benefit from it. I don't know about KVM.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Ethernet Not Talking

2013-07-15 Thread Robert Dinse

  After applying a number of updates to both the host and the virtual 
machines, I had one virtual machine which would not talk to the network after
the updates.  Rebooting numerous times didn't help, I couldn't see anything
wrong with either it's configuration or the bridge on the host machine.

  I ended up restoring that machine from an image and then re-applying the
updates and then everything was okay.

  Amoung other things the updates included an update to glibc.

  I was wondering if anyone else encountered something similar and had
come to a better understanding of what went wrong?

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
Knowledgeable human assistance, not telephone trees or script readers.
  See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Xen Balloon Driver on PVHVM CentOS6

2013-07-15 Thread Rushikesh Jadhav
Hi List,

It seems that the xen balloon functionality for guest is not enabled in
CentOS 3.4.50-8.el6 xen kernel by default via centos-release-xen.x86_64
repo. I think this should have been present since this extra Xen repo needs
to support as both Guest and Host (Dom0).

The kernel had to be recompiled with CONFIG_XEN_SELFBALLOONING.
How can I request to make it default enable in centos repo ? or is there
any reason to not have it default ?

Thanks.



On Fri, Jul 12, 2013 at 7:42 PM, Rushikesh Jadhav <2rushike...@gmail.com>wrote:

> Hi List,
>
> I'm trying to work out the balloon driver on CentOS6 HVM but it seems to
> be not working with default 2.6.32 or newer 3.4 kernel.
>
> Does balloon driver work on HVM linux guests with Linux Kernel 3.4 from
> centos repo ?
>
> PV is fine and is able to balloon.
>
> My host is Xen 4.1.2 with dom0 as 3.4.46-8.el6.centos.alt.x86_64
> My guest is CentOS6.4 with kernel 3.4.46-8.el6.centos.alt.x86_64
>
> Please have a look at below guest logs,
> [root@hvmc6 ~]# uname -a Linux hvmc6 3.4.50-8.el6.centos.alt.x86_64 #1
> SMP Fri Jun 21 03:14:22 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> [root@hvmc6 ~]# xenstore-ls memory initial-reservation = "1193984"
> initial-target = "1048576" static-max = "16777216" target = "1048576"
> dynamic-min = "1048576" dynamic-max = "1048576" memory-offset = "-258100"
> [root@hvmc6 ~]# dmesg | grep -i balloon xen/balloon: Initialising balloon
> driver. xen-balloon: Initialising balloon driver.
> [root@hvmc6 ~]# free -m total used free shared buffers cached Mem: 463
> 221 241 0 24 13 -/+ buffers/cache: 184 278 Swap: 9987 7 9980
>
>
> When I try to set it manually from host, I get
> # xl mem-set 229 2049 xc: error: do_memory_op: WARNING: op=16 not
> converted to safe ioctls: Internal error
>
> Anyone has made CentOS6 PVHVM work with ballooning on Xen ?
>
> Thanks.
> Rushikesh
>
>
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Would a hardware TRNG benefit VMs?

2013-07-15 Thread Digimer
On 15/07/13 07:04, Stefano Stabellini wrote:
> On Sat, 13 Jul 2013, Digimer wrote:
>> Hi all,
>>
>> I've been curious about using hardware true random number generators
>> in my VM clusters. This got me wondering about the VM's /dev/random
>> source... If I setup a hardware TRNG on the host, would the VM's also
>> benefit from it?
>
> Xen VMs would not be able to benefit from it. I don't know about KVM.

Would you be able to elaborate on why not? I know Xen and KVM differ, 
but this is not a topic I have seen discussed at all before, so any 
insight would be helpful and appreciated! :)

digimer

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] No eth0 in dom0 after installing xen

2013-07-15 Thread Mark Nejedlo
I've just installed CentOS 6.4 an Xen on a new system, and eth0 is not
found on dom0 when booting into Xen.  When I boot into the 2.6.32 kernel
outside Xen my network interface is found, using the e1000e driver.  If I
boot into Xen eth0 is not found, even if I modprobe the e1000e driver by
hand.  My NIC is an Intel I217-V.

Any suggestions for things I can do to get my network working inside Xen?

Thanks,
Mark
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] No eth0 in dom0 after installing xen

2013-07-15 Thread Gene
On Mon, Jul 15, 2013 at 8:50 PM, Mark Nejedlo  wrote:
> I've just installed CentOS 6.4 an Xen on a new system, and eth0 is not found
> on dom0 when booting into Xen.  When I boot into the 2.6.32 kernel outside
> Xen my network interface is found, using the e1000e driver.  If I boot into
> Xen eth0 is not found, even if I modprobe the e1000e driver by hand.  My NIC
> is an Intel I217-V.
>
> Any suggestions for things I can do to get my network working inside Xen?

Is it finding any other eth devices? (eth1, eth2, etc)

Verify the MAC address in the
/etc/sysconfig/network-scripts/ifcfg-eth0 file matches what you have
in the Xen configuration (xm list -l ).  If not then remove
it.

> Thanks,
> Mark

-Gene
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt