[libvirt] networking restart after redefinition

2013-09-28 Thread Mihamina Rakotomandimby

Hi all,

Running Fedora 18 and the bundled libvirt and virt-tools. Desktop use.

As I like to access my guests with a hostname and not a numerical IP 
address, I fix the IP addressing in the network configuration: 
http://pastebin.com/rfMKn40j


Unfortunately, I cant find a way to add a host without loosing the whole 
networking, as when I add a ahost, I destroy and redefine the network.


Restarting libvirtd is not the solution.


How would you recommend to have networking UP after network redefinition?

--
RMA.

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] libvirt: How to boot VM in esx?

2013-09-28 Thread varun bhatnagar
Hi,

Im not able to boot my VM on esx hypervisor using libvirt. It says NO
Operating System found. Can anyone help?

Regards,
Varun
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 1/6] kvm: Add KVM_GET_EMULATED_CPUID

2013-09-28 Thread Borislav Petkov
On Fri, Sep 27, 2013 at 11:21:34AM -0300, Eduardo Habkost wrote:
 The problem here is that requested_features doesn't include just
 the explicit +flag flags, but any flag included in the CPU model
 definition. See the -cpu n270 example below.

Oh, you mean if requested_features would contain a flag included from
the CPU model definition - a flag which we haven't requested explicitly
- and if kvm emulates that flag, then it will get enabled?

Hmm.

 It should, but your patch will make it stop failing because of MOVBE, as
 now it can be emulated[1].

Right.

 enforce makes sure all features are really being enabled. It makes
 QEMU abort if there's any feature that can't be enabled on that host.

Ok.

 [1] Maybe one source of confusion is that the existing code have two
 feature-filtering functions doing basically the same thing:
 filter_features_for_kvm() and kvm_check_features_against_host().  That's

Yes, and the first gets executed unconditionally and does the feature
filtering,  right after the second has run in the kvm_enabled() branch.

 something we must clean up, and they should be unified. enforce should
 become synonymous to make sure filtered_features is all zeroes.  This
 way, libvirt can emulate what 'enforce does while being able to collect
 detailed error information (which is not easy to do if QEMU simply
 aborts).

Ok, maybe someone who's more knowledgeable with this code should do it -
not me :)

Also, there's another aspect, while we're here: now that QEMU emulates
MOVBE with TCG too, how do we specify on the command line, which
emulation should be used - kvm.ko or QEMU?

Thanks.

-- 
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] struct random on FreeBSD [was: FreeBSD-8.3 build failure for amd64/i386, build archive included]

2013-09-28 Thread Eric Blake
On 09/27/2013 01:01 PM, Jason Helfman wrote:
 On Fri, Sep 27, 2013 at 4:57 AM, Eric Blake ebl...@redhat.com wrote:
 
 On 09/27/2013 01:35 AM, Michal Privoznik wrote:

 make[3]: Entering directory
 `/home/zippy/work/tmp/a/libvirt-1.1.2/gnulib/lib'
   CC   allocator.lo
 In file included from allocator.c:4:0:
 ./stdlib.h:76:8: error: redefinition of 'struct random_data'
  struct random_data
 ^
 In file included from ./stdlib.h:36:0,
  from allocator.c:4:
 /usr/include/stdlib.h:349:8: note: originally defined here
  struct random_data
 ^

 Can
 you show me the config.log output related to detecting whether 'struct
 random_data' exists?  Is this a case of circular header inclusion on
 FreeBSD (that is, does sys/types.h try to recursively include
 stdlib.h to pick up the struct?)

 Should be available here:
 http://people.freebsd.org/~jgh/files/libvirt_83amd64.tar.xz

Thanks; looking through that, I see:

configure:31404: checking for struct random_data
configure:31404: cc -std=gnu99 -c -O2 -pipe -fno-strict-aliasing
-D_THREAD_SAFE -D_THREAD_SAFE conftest.c 5
conftest.c: In function 'main':
conftest.c:346: error: invalid application of 'sizeof' to incomplete
type 'struct random_data'
...

| #include stdlib.h
|   #if HAVE_RANDOM_H
|   # include random.h
|   #endif
|
|
| int
| main ()
| {
| if (sizeof (struct random_data))

So, what has to be included prior to stdlib.h for the forward
declaration of struct random_data in that header to no longer be an
incomplete type?  Can you grep your system headers and find what all
mentions struct random_data?

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list