Fwd: Re: update after changing XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
--- Begin Message ---
That's it!  Thank you.  I didn't see this my first time through the man page, but I knew there was a command I was supposed to run.  This makes much more sense now.

I am, however still having problems.  When running the define command I got the following error:

virsh # define /etc/libvirt/qemu/vsys1.oberon.modsim.mil.xml
libvir: QEMU error : No <source> 'dev' attribute specified with <interface type='bridge'/>
error: Failed to define domain from /etc/libvirt/qemu/vsys1.oberon.modsim.mil.xml

My bridge section looks like this:

    <interface type='bridge'>
      <source dev='br0'/>
      <target dev='vnet7'/>
      <mac address="11:22:33:44:EE:FC"/>
    </interface>

Do I need to create the vnet7 device before hand?  I thought this might be something libvirt created on startup.  Or, is the define error related to something else?  My current XML file appears to be well formed.

Thanks for your help!

-Max

-----Original Message-----
From: Richard W.M. Jones [mailto:rjones@xxxxxxxxxx]
Sent: Tue 1/29/2008 11:26 AM
To: Bottiger, Maxwell - AES
Cc: libvir mailing list
Subject: Re:  update after changing XML

Maxwell Bottiger wrote:
> Hi,
>
>         I changed some of the XML for a qemu virtual machine.  The original
> file was generated by virt-manager, but I wanted to use bridged
> networking as described in the documentation on the libvirt website.  Is
> there something I need to for my xml changes to show up in the virtual
> machine?  Right now my VM will not start because it's looking for it's
> old network configuration.

Did you do 'virsh define file.xml' to actually update libvirt's idea
about what the domain XML is?

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903


This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail.

--- End Message ---

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]