All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: jim burns <jim_burn@bellsouth.net>
Cc: xen-devel@lists.xen.org
Subject: Re: Fwd: Openindiana, using -machine pc, accel=xen in qemu
Date: Mon, 26 Sep 2016 12:32:01 +0100	[thread overview]
Message-ID: <20160926113201.GB3278@perard.uk.xensource.com> (raw)
In-Reply-To: <3491369.32mGDZeL1y@insp3847>

On Thu, Sep 22, 2016 at 10:37:14AM -0400, jim burns wrote:
> Pls cc me with any replies.
> 
> On Thursday, 22 September 2016, 12:22:02 EDT, Anthony PERARD wrote:
> > On Wed, Sep 21, 2016 at 06:20:16PM -0400, jim burns wrote:
> > > I didn't get any responses in xen-users, so I'm posting here. My use case
> > > is as below, but the jist of it is is the qemu option -machine
> > > pc,accel=xen meant to be usable in standalone qemu, or is it only
> > > available from a guest launched by xl, or libvirtd via libxl? If the
> > > latter, are there any plans to make it available as a standalone qemu
> > > option?
> > 
> > Hi,
> > 
> > -machine pc,accel=xen is to be used by libxl (used by xl or libvirt).
> > libxl takes care of creating a guest and launch QEMU when needed.
> 
> That was quick. Thank you for your response. So there is no way to hook libxl 
> from a standalone qemu option?

With xl, you can add arguments to the qemu command line via the option:
device_model_args_hvm = [ "-extra-option", 'example' ]

> > What is your xen config file for OI ?
> 
> name = "osol134"
> uuid = "f80856df-3180-acc5-931d-32190cfe4062"
> memory=2048
> vcpus=4
> localtime=1
> on_poweroff = "destroy"
> on_reboot = "destroy"
> on_crash = "preserve"
> #
> boot="dc"
> builder="hvm"
> xen_platform_pci=0  # forces -machine pc,accel=xen
> device_model_args=[ '-cpu','Haswell-noTSX' ]

This -cpu would not work, QEMU have no control over the cpu when running
with Xen.

> ## live cd installer
> 
> Disk = [ "file:/home/jimb/Documents/rpms/OI-hipster-
> gui-20160421.iso,xvdc:cdrom,r", "phy:/dev/dm-2,xvda,w" ]

Would the guest works if you change xvda and xvdc to respectively hda
and hdc?

> vga="qxl"
> videoram=128
> #soundhw='all' #causes hvm domain start failure
> soundhw='sb16,es1370,ac97,adlib,gus,cs4231a'

You could specify only one sound card, instead of all, and you could use
'hda' to start with.

> usbdevice='mouse'

Try with a tablet instead of the mouse:
usbdevice='tablet'
That is usually the virtual device I use for a mouse.
You could try also without the usbdevice option, and see if the guest
boot.

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-09-26 11:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 22:20 Fwd: Openindiana, using -machine pc,accel=xen in qemu jim burns
2016-09-22 11:22 ` Fwd: Openindiana, using -machine pc, accel=xen " Anthony PERARD
2016-09-22 14:37   ` jim burns
2016-09-26 11:32     ` Anthony PERARD [this message]
2016-09-26 15:02       ` jim burns
2016-09-26 16:21         ` Anthony PERARD
2016-09-26 19:27           ` jim burns
2016-10-05 18:46             ` Fwd: Openindiana, using -machine pc, accel=xen in qemu - Success! jim burns
     [not found]               ` <339333DD-C225-4648-98A5-68A7F75496D9@netgate.net>
2016-10-05 19:21                 ` [Xen-users] " jim burns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160926113201.GB3278@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=jim_burn@bellsouth.net \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.