[fedora-virt] SOLVED Re: virsh start --console "some-guest" booting options F17 host
"Ján ONDREJ (SAL)"
ondrejj at salstar.sk
Wed Jul 18 20:22:44 UTC 2012
On Tue, Jul 17, 2012 at 04:44:18PM -0400, Cole Robinson wrote:
> On 07/17/2012 01:43 PM, Ján ONDREJ (SAL) wrote:
> > On Tue, Jul 17, 2012 at 04:49:21PM +0100, Frank Murphy wrote:
> >> On 15/06/12 01:39, Cole Robinson wrote:
> >>> On 06/13/2012 04:56 AM, Frank Murphy wrote:
> >>>> Q1:
> >>>> virsh start --console "some-guest"
> >>>> How can a different kernel be booted from?
> >>>> If kernel=0 won't complete boot.
> >>>>
> >>>
> >>> Maybe try sgabios? Add this to your guest's <os> block:
> >>>
> >>> <bios useserial='yes'/>
> >>
> >> That was it
> >
> > Can I add this using virt-isntall? Can virt-install configure sgabios with
> > an option?
> >
> > Is there any command line tool, which can add/remove/update XML parameters?
> > Example:
> >
> > tool --add domain.os.bios useserial=yes
> >
> > SAL
>
> There's /usr/bin/xpath but that's for querying only it seems. Would be pretty
> straightforward to make one for setting arbitrary data.
OK, I wrote one. Please look at this:
http://www.salstar.sk/pub/salpack/usr/sbin/virsh-pyquery
This script uses pyquery, jquery based selector syntax. If you like jquery
selectors, then you will like it. It can add/delete/remove/update entities
or attributes.
> Though in this case I think finishing off virt-xml is the best way to go, I've
> just never managed to give it the final push:
>
> http://www.redhat.com/archives/virt-tools-list/2011-April/msg00159.html
Nice too, but limited to only supported options. :(
SAL
More information about the virt
mailing list