From: Li Zhang <li.zh...@hxt-semitech.com>
virt machine doesn't support hot_add_cpu interface. This patchset is to
implement
hot_add_cpu interface. A CPU can be added by QMP command with QEMU monitor.
Here is command to add a CPU with QMP command.
* qemu-system-aarch64 -machine vir
Any idea?
Thanks.
On Fri, May 19, 2017 at 1:46 PM, Li Zhang <zhlci...@gmail.com> wrote:
>
> Hi,
>
> I am looking into QEMU code in ARM recently and trying to add add_hot_cpu in
> QEMU for ARM,
> but it doesn't work when enabling KVM. It reports error:
>
>
Hi,
I am looking into QEMU code in ARM recently and trying to add add_hot_cpu
in QEMU for ARM,
but it doesn't work when enabling KVM. It reports error:
"kvm_init_vcpu failed: Device or resourc busy."
By debugging QEMU with gdb, it failed on ioctl. In kernel soruce code
arch/arm/kvm/arm.c,
vcpu
On 2013年05月22日 04:01, Anthony Liguori wrote:
Daniel P. Berrange berra...@redhat.com writes:
On Tue, May 21, 2013 at 11:12:26AM -0600, Eric Blake wrote:
I have also argued in the past that it would be useful for libvirt to
support the idea of a template, where you can specify a domain XML that
Oops, correct libvirt mailing list address. :)
Thanks.
On 2013年05月21日 16:19, Li Zhang wrote:
Hi all,
Sorry to bring this problem up again.
We encounter this problem in openstack which always use
default machine type. Currently, QEMU sets mac99 as default
setting for ppc64 but it doesn't
Hi all,
Sorry to bring this problem up again.
We encounter this problem in openstack which always use
default machine type. Currently, QEMU sets mac99 as default
setting for ppc64 but it doesn't work on our platform at all.
I tried to fix this in libvirt which it is not acceptable because
On 2013年05月21日 16:31, Peter Maydell wrote:
On 21 May 2013 09:19, Li Zhang zhlci...@gmail.com wrote:
We encounter this problem in openstack which always use
default machine type. Currently, QEMU sets mac99 as default
setting for ppc64 but it doesn't work on our platform at all.
I tried to fix
On 2013年05月21日 16:45, Peter Maydell wrote:
On 21 May 2013 09:39, Daniel P. Berrange berra...@redhat.com wrote:
Libvirt has always had support for specifying what machine type to use.
This discussion is simply about what machine type to default to, if the
user hasn't explicitly asked for one.
On 2013年05月21日 17:25, Daniel P. Berrange wrote:
On Tue, May 21, 2013 at 05:02:51PM +0800, Li Zhang wrote:
On 2013年05月21日 16:45, Peter Maydell wrote:
On 21 May 2013 09:39, Daniel P. Berrange berra...@redhat.com wrote:
Libvirt has always had support for specifying what machine type to use
On 2013年05月21日 17:55, Paul Mackerras wrote:
On Tue, May 21, 2013 at 09:39:53AM +0100, Daniel P. Berrange wrote:
On Tue, May 21, 2013 at 09:31:26AM +0100, Peter Maydell wrote:
On 21 May 2013 09:19, Li Zhang zhlci...@gmail.com wrote:
We encounter this problem in openstack which always use
On 2013年05月08日 23:53, fred.kon...@greensocs.com wrote:
On 05/07/2013 07:50 PM, Paolo Bonzini wrote:
Il 07/05/2013 09:20, Li Zhang ha scritto:
Hi all,
Hi,
When we use the latest version of QEMU to build ovirt,
we get this error reported from libvirt.
What QEMU commit
On 2013年05月09日 14:31, Alexey Kardashevskiy wrote:
On 05/09/2013 04:07 PM, Li Zhang wrote:
On 2013年05月08日 23:53, fred.kon...@greensocs.com wrote:
On 05/07/2013 07:50 PM, Paolo Bonzini wrote:
Il 07/05/2013 09:20, Li Zhang ha scritto:
Hi all,
Hi,
When we use the latest version of QEMU
Hi all,
When we use the latest version of QEMU to build ovirt,
we get this error reported from libvirt.
qemu-system-ppc64: -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm:
Bus 'virtio-serial0.0' is full
qemu-system-ppc64: -device
On 2013年05月07日 17:50, Paolo Bonzini wrote:
Il 07/05/2013 09:20, Li Zhang ha scritto:
Hi all,
When we use the latest version of QEMU to build ovirt,
we get this error reported from libvirt.
What QEMU commit is this?
It might have been fixed already.
You mean this is one bug of QEMU, right
On 2013年05月07日 21:05, Alexey Kardashevskiy wrote:
On 05/07/2013 07:50 PM, Paolo Bonzini wrote:
Il 07/05/2013 09:20, Li Zhang ha scritto:
Hi all,
When we use the latest version of QEMU to build ovirt,
we get this error reported from libvirt.
What QEMU commit
On 2013年01月29日 00:30, Eric Blake wrote:
On 01/28/2013 07:16 AM, Li Zhang wrote:
The QMP client must send '{ execute: getfd, arguments: { fdname:
fd1 } }' together with SCM_RIGHTS CMSG. You are getting the error
because you sent the getfd command but forgot to include a file
descriptor using
On 2013年01月28日 21:28, Stefan Hajnoczi wrote:
On Mon, Jan 28, 2013 at 03:27:01PM +0800, Li Zhang wrote:
Hi all,
I am trying to executing qmp command getfd according to qmp-commands.hx.
{ execute: getfd, arguments: { fdname: fd1 } }
Every time, it returns the error.
{
error
Hi all,
I am trying to executing qmp command getfd according to qmp-commands.hx.
{ execute: getfd, arguments: { fdname: fd1 } }
Every time, it returns the error.
{
error: {
class: GenericError,
desc: No file descriptor supplied via SCM_RIGHTS
}
}
This error is related
. In particular it
presumably means that trying to migrate a VM from 1.2 qemu
that used USB will fail.
-- PMM
--
Li Zhang
IBM China Linux Technology Centre
On 2012年11月23日 00:39, Peter Maydell wrote:
On 22 November 2012 16:34, Li Zhang zhlci...@linux.vnet.ibm.com wrote:
On 2012年11月23日 00:18, Peter Maydell wrote:
On 29 October 2012 10:25, Alexander Graf ag...@suse.de wrote:
From: zhlci...@gmail.com zhlci...@gmail.com
When -usb option is used
On 2012年11月23日 00:44, Alexander Graf wrote:
On 22.11.2012, at 17:39, Peter Maydell wrote:
On 22 November 2012 16:34, Li Zhang zhlci...@linux.vnet.ibm.com wrote:
On 2012年11月23日 00:18, Peter Maydell wrote:
On 29 October 2012 10:25, Alexander Graf ag...@suse.de wrote:
From: zhlci...@gmail.com
:
machine_opts = qemu_opts_find(qemu_find_opts(machine), 0);
will return NULL if there are no user-set machine opts
at this point, so we never go on to try to set the usb
machine opt to true.
Patch sent which fixes this bug.
Thanks for fixing that. :)
-- PMM
--
Li Zhang
IBM China Linux
);
add_device_config(DEV_USB, optarg);
break;
case QEMU_OPTION_device:
Looks good to me.
Thanks.
--
Li Zhang
IBM China Linux Technology Centre
On Wed, Sep 26, 2012 at 5:03 PM, Alexander Graf ag...@suse.de wrote:
On 26.09.2012, at 10:50, Li Zhang zhlci...@gmail.com wrote:
Thanks Gerd.
Hi Alex,
Can this patch be pushed to upstream?
Gerd, do you want to take this through the usb queue? If I get s formal ack
from you I can also
Thanks Gerd.
Hi Alex,
Can this patch be pushed to upstream?
Thanks. -:)
On Wed, Sep 26, 2012 at 2:29 PM, Gerd Hoffmann kra...@redhat.com wrote:
On 09/26/12 06:20, Li Zhang wrote:
Would you please have a look at my patch when you have time?
Because it is related with USB, so I hope to get
Hi Gerd,
Any suggestion?
Many thanks. -:)
On Wed, Sep 19, 2012 at 1:59 AM, Alexander Graf ag...@suse.de wrote:
On 09/18/2012 07:36 PM, Alexander Graf wrote:
On 09/03/2012 07:25 AM, Li Zhang wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plaform will create
On Wed, Sep 19, 2012 at 1:36 AM, Alexander Graf ag...@suse.de wrote:
On 09/03/2012 07:25 AM, Li Zhang wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plaform will create one USB controller according
to this variable. In fact, global varibles make code hard
On Wed, Sep 19, 2012 at 1:59 AM, Alexander Graf ag...@suse.de wrote:
On 09/18/2012 07:36 PM, Alexander Graf wrote:
On 09/03/2012 07:25 AM, Li Zhang wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plaform will create one USB controller according
Hi all,
What should I do to improve this patch?
Can anyone give more suggestions?
Thanks. -:)
On Mon, Sep 3, 2012 at 1:25 PM, Li Zhang zhlci...@gmail.com wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plaform will create one USB controller according
On Sat, Aug 25, 2012 at 3:43 PM, Blue Swirl blauwir...@gmail.com wrote:
On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang zhlci...@gmail.com wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plafrom will create one USB controller according
to this variable. In fact
, at 00:43, Blue Swirl blauwir...@gmail.com wrote:
On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang zhlci...@gmail.com wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plafrom will create one USB controller according
to this variable. In fact, global varibles make code
On Sun, Sep 2, 2012 at 10:45 PM, Alexander Graf ag...@suse.de wrote:
On 02.09.2012, at 09:50, Li Zhang zhlci...@gmail.com wrote:
On Tue, Aug 28, 2012 at 2:08 AM, Blue Swirl blauwir...@gmail.com wrote:
On Mon, Aug 27, 2012 at 1:59 AM, Alexander Graf ag...@suse.de wrote:
On 26.08.2012
the plaforms will get
USB option value from machine options.
USB option of machine options will be set either by:
* -usb
* -machine type=pseries,usb=on
Both these ways can work now. They both set USB option in
machine options. In the future, the first way will be removed.
Signed-off-by: Li Zhang zhlci
the plaforms will get
USB option value from machine options.
USB option of machine options will be set either by:
* -usb
* -machine type=pseries,usb=on
Both these ways can work now. They both set USB option in
machine options. In the future, the first way will be removed.
Signed-off-by: Li Zhang zhlci
On 2012年08月15日 02:09, Alexander Graf wrote:
On 14.08.2012, at 19:49, Li Zhang zhlci...@gmail.com wrote:
USB is enabled as default on sPAPR platform because it needs
USB keyboard and USB mouse when VGA is enabled.
This patch is to add USB controller on sPAPR platform.
Signed-off-by: Li Zhang
On Wed, Aug 15, 2012 at 7:13 PM, David Gibson d...@au1.ibm.com wrote:
On Wed, Aug 15, 2012 at 01:44:28PM +0800, Li Zhang wrote:
On Wed, Aug 15, 2012 at 10:57 AM, David Gibson d...@au1.ibm.com wrote:
On Wed, Aug 15, 2012 at 10:50:04AM +0800, Li Zhang wrote:
On Wed, Aug 15, 2012 at 9:47 AM
On 2012年08月15日 15:02, Alexander Graf wrote:
On 15.08.2012, at 08:00, Li Zhang zhlci...@linux.vnet.ibm.com wrote:
On 2012年08月15日 02:09, Alexander Graf wrote:
On 14.08.2012, at 19:49, Li Zhang zhlci...@gmail.com wrote:
USB is enabled as default on sPAPR platform because it needs
USB keyboard
On Thu, Aug 16, 2012 at 9:52 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Thu, 2012-08-16 at 09:29 +0800, Li Zhang wrote:
Yes, that's pretty much what I was asking for (here and for the
mac99 u3 machine). Just base your patch on ppc-next. My patches are in
there.
That's
On Thu, Aug 16, 2012 at 10:06 AM, David Gibson d...@au1.ibm.com wrote:
On Thu, Aug 16, 2012 at 11:52:11AM +1000, Benjamin Herrenschmidt wrote:
On Thu, 2012-08-16 at 09:29 +0800, Li Zhang wrote:
Yes, that's pretty much what I was asking for (here and for the
mac99 u3 machine). Just base your
On Tue, Aug 14, 2012 at 6:39 PM, Alexander Graf ag...@suse.de wrote:
On 08/07/2012 04:41 AM, Li Zhang wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plafrom will create one USB controller according
to this variable. In fact, global varibles make code hard
On Tue, Aug 14, 2012 at 6:46 PM, Alexander Graf ag...@suse.de wrote:
On 08/07/2012 04:41 AM, Li Zhang wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plafrom will create one USB controller according
to this variable. In fact, global varibles make code hard
On Tue, Aug 14, 2012 at 7:04 PM, Alexander Graf ag...@suse.de wrote:
On 08/07/2012 04:42 AM, Li Zhang wrote:
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin
On Tue, Aug 14, 2012 at 8:13 PM, David Gibson d...@au1.ibm.com wrote:
On Tue, Aug 14, 2012 at 10:04:03PM +1000, Benjamin Herrenschmidt wrote:
On Tue, 2012-08-14 at 13:04 +0200, Alexander Graf wrote:
Thanks, applied to ppc-next without the USB bits. I also get the
following warning now:
$
On Tue, Aug 14, 2012 at 11:13 PM, Li Zhang zhlci...@gmail.com wrote:
On Tue, Aug 14, 2012 at 8:13 PM, David Gibson d...@au1.ibm.com wrote:
On Tue, Aug 14, 2012 at 10:04:03PM +1000, Benjamin Herrenschmidt wrote:
On Tue, 2012-08-14 at 13:04 +0200, Alexander Graf wrote:
Thanks, applied to ppc
the plaforms will get
USB option value from machine options.
USB option of machine options will be set either by:
* -usb
* -machine type=pseries,usb=on
Both these ways can work now. They both set USB option in
machine options. In the future, the first way will be removed.
Signed-off-by: Li Zhang zhlci
USB is enabled as default on sPAPR platform because it needs
USB keyboard and USB mouse when VGA is enabled.
This patch is to add USB controller on sPAPR platform.
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/spapr.c |5 +
1 files changed, 5 insertions(+), 0 deletions
On Wed, Aug 15, 2012 at 1:19 AM, Li Zhang zhlci...@gmail.com wrote:
On Tue, Aug 14, 2012 at 11:13 PM, Li Zhang zhlci...@gmail.com wrote:
On Tue, Aug 14, 2012 at 8:13 PM, David Gibson d...@au1.ibm.com wrote:
On Tue, Aug 14, 2012 at 10:04:03PM +1000, Benjamin Herrenschmidt wrote:
On Tue, 2012-08
On Wed, Aug 15, 2012 at 2:08 AM, Alexander Graf ag...@suse.de wrote:
On 14.08.2012, at 19:49, Li Zhang zhlci...@gmail.com wrote:
When -usb option is used, global varible usb_enabled is set.
And all the plafrom will create one USB controller according
to this variable. In fact, global
On Wed, Aug 15, 2012 at 8:09 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-08-15 at 09:10 +1000, David Gibson wrote:
I see. I will redo this patch. Send out it later. :)
Thanks for your comments.
When you do that, please also change the default to make spapr _not_
On Wed, Aug 15, 2012 at 9:47 AM, David Gibson d...@au1.ibm.com wrote:
On Wed, Aug 15, 2012 at 09:24:34AM +0800, Li Zhang wrote:
On Wed, Aug 15, 2012 at 8:09 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-08-15 at 09:10 +1000, David Gibson wrote:
I see. I will redo
On Wed, Aug 15, 2012 at 10:57 AM, David Gibson d...@au1.ibm.com wrote:
On Wed, Aug 15, 2012 at 10:50:04AM +0800, Li Zhang wrote:
On Wed, Aug 15, 2012 at 9:47 AM, David Gibson d...@au1.ibm.com wrote:
On Wed, Aug 15, 2012 at 09:24:34AM +0800, Li Zhang wrote:
On Wed, Aug 15, 2012 at 8:09 AM
+
hw/Makefile.objs |5 ++-
monitor.c|4 +++
qemu-options.hx |4 +++
sysemu.h |2 +
vl.c |8 +-
7 files changed, 76 insertions(+), 19 deletions(-)
--
Li Zhang
IBM China Linux Technology Centre
and it is replaced with usb_enabled() function.
You can see my patch.
if (foreach_device_config(DEV_USB, usb_parse) 0)
exit(1);
}
+#endif
/* init generic devices */
if (qemu_opts_foreach(qemu_find_opts(device), device_init_func, NULL,
1) != 0)
--
Li
Hi Alex and Andreas,
Would you please help review the new version patches?
We hope the patches can be merged into 1.2.
1.2 will be freezed soon.
Thanks a lot.
On Tue, Aug 7, 2012 at 10:41 AM, Li Zhang zhlci...@gmail.com wrote:
v1 - v2:
* Convert USB option from char to bool.
v2 - v3
: Add support for -vga option
Li Zhang (2):
Add USB option in machine options
Add one new file vga-pci.h and cleanup on all platforms
hw/alpha_pci.c|1 +
hw/cirrus_vga.c |2 +-
hw/mips_malta.c |1 +
hw/nseries.c |9 +
hw/pc.c |1 +
hw/pc.h
the plaforms will get
USB option value from machine options.
USB option of machine options will be set either by:
* -usb
* -machine type=pseries,usb=on
Both these ways can work now. They both set USB option in
machine options. In the future, the first way will be removed.
Signed-off-by: Li Zhang zhlci
platforms.
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/alpha_pci.c|1 +
hw/cirrus_vga.c |2 +-
hw/mips_malta.c |1 +
hw/pc.c |1 +
hw/pc.h |4
hw/ppc_newworld.c |2 +-
hw/ppc_oldworld.c |2 +-
hw/ppc_prep.c |1 +
hw
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/spapr.c | 31
On Tue, Jul 31, 2012 at 3:36 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Tue, 2012-07-31 at 16:09 +1000, David Gibson wrote:
The pseries machine currently ignores the -usb command line option.
This patch corrects the problem by having it instantiate a PCI OHCI
USB host
Sorry, it seems that I send this patchset twice.
There are still some problems of my mail.
The mailing list can't receive my mail. :)
On 2012年08月05日 02:40, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
v1 - v2:
* Convert USB option from char to bool.
v2 - v3
Reply to mailing list. :)
On 2012年08月05日 02:41, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
All the plaftorms use usb_enabled global variable to check USB option.
Now that, usb_enabled has been removed and the value of USB option
should
be got from machine options
Reply to mailing list. :)
On 2012年08月05日 02:41, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
Functions pci_vga_init() and pci_cirrus_vga_init() are declared
in pc.h. That prevents other platforms (e.g. sPAPR) to use them.
This patch is to create one new file vga-pci.h
Reply to mailing list. :)
On 2012年08月05日 02:41, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
The declarations of pci_vga_init() and pci_cirrus_vga_init()
are moved to vga-pci.h to be called by all the platforms.
So it's necessary to cleanup pc.h on the platforms other
Reply to mailing list. :)
On 2012年08月05日 02:41, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin
variable
* Set USB option in machine option
* Cleanup USB option on all platforms
* Report error when vga model is not std
Benjamin Herrenschmidt (1):
spapr: Add support for -vga option
Li Zhang (4):
Add USB option in machine options
Get USB option by machine options on all
the plaforms will
get USB option value from machine options.
USB option of machine options will be set by either by:
* -usb
* -machine type=pseries,usb=on
Both these ways can work now. They both set USB option in
machine options. In the future, the first way will be removed.
Signed-off-by: Li Zhang
:
* -machine type=pseries,usb=on
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/nseries.c |9 +
hw/pc_piix.c |6 ++
hw/ppc_newworld.c | 10 +-
hw/ppc_oldworld.c |8
hw/ppc_prep.c |7 +++
hw/pxa2xx.c | 15
Functions pci_vga_init() and pci_cirrus_vga_init() are declared
in pc.h. That prevents other platforms (e.g. sPAPR) to use them.
This patch is to create one new file vga-pci.h and move the
declarations to vga-pci.h, so that they can be shared by
all the platforms.
Signed-off-by: Li Zhang zhlci
is to cleanup pc.h and add vga-pci.h.
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/alpha_pci.c|1 +
hw/mips_malta.c |1 +
hw/pc.c |1 +
hw/ppc_newworld.c |2 +-
hw/ppc_oldworld.c |2 +-
hw/ppc_prep.c |1 +
hw/sun4u.c|1 +
7 files changed
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/spapr.c | 31
On Sat, Aug 4, 2012 at 8:43 PM, Blue Swirl blauwir...@gmail.com wrote:
On Sat, Aug 4, 2012 at 12:05 PM, Li Zhang zhlci...@gmail.com wrote:
Functions pci_vga_init() and pci_cirrus_vga_init() are declared
in pc.h. That prevents other platforms (e.g. sPAPR) to use them.
This patch is to create
On Fri, Jul 6, 2012 at 9:43 PM, Alexander Graf ag...@suse.de wrote:
On 02.07.2012, at 07:25, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
pSeries machine needs to enable USB to add a USB
keyboard or USB mouse. -usb option won't be used in
the future, and machine
On Sat, Jul 7, 2012 at 12:03 AM, Alexander Graf ag...@suse.de wrote:
On 06.07.2012, at 17:58, Andreas Färber wrote:
Am 06.07.2012 15:43, schrieb Alexander Graf:
On 02.07.2012, at 07:25, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
pSeries machine needs to enable
On Sun, Jul 8, 2012 at 10:45 PM, Alexander Graf ag...@suse.de wrote:
On 08.07.2012, at 16:21, Li Zhang zhlci...@gmail.com wrote:
On Fri, Jul 6, 2012 at 9:43 PM, Alexander Graf ag...@suse.de wrote:
On 02.07.2012, at 07:25, zhlci...@gmail.com wrote:
From: Li Zhang zhlci
On Fri, Jul 6, 2012 at 9:50 PM, Alexander Graf ag...@suse.de wrote:
On 02.07.2012, at 07:25, zhlci...@gmail.com wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices
On Sun, Jul 8, 2012 at 11:02 PM, Alexander Graf ag...@suse.de wrote:
On 08.07.2012, at 16:46, Li Zhang zhlci...@gmail.com wrote:
On Sat, Jul 7, 2012 at 12:03 AM, Alexander Graf ag...@suse.de wrote:
On 06.07.2012, at 17:58, Andreas Färber wrote:
Am 06.07.2012 15:43, schrieb Alexander Graf
Hi Alex,
Would you please help review these patches, if you have time?
This patch should work with [3/4], which cleanup all the places where
pci_vga_init() and pci_cirrus_vga_init() are used.
Thanks.
On Mon, Jul 2, 2012 at 1:25 PM, zhlci...@gmail.com wrote:
From: Li Zhang zhlci
Correct mailing list address.
On 06/29/2012 04:27 PM, Li Zhang wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
Functions pci_vga_init() and pci_cirrus_vga_init() are decleared
in pc.h. That prevents other platforms (e.g. sPAPR) to use them.
This patch is to create one new file vga-pci.h
Correct mailing list address.
On 06/29/2012 04:27 PM, Li Zhang wrote:
From: Li Zhang zhlci...@linux.vnet.ibm.com
Now that the declearations of pci_vga_init() and pci_cirrus_vga_init()
are moved to vga-pci.h. So it's necessary to cleanup pc.h on the
platforms which include the file and add vga
On Wed, Jun 27, 2012 at 10:37 PM, Alexander Graf ag...@suse.de wrote:
On 27.06.2012, at 16:32, Andreas Färber wrote:
Am 27.06.2012 15:55, schrieb Li Zhang:
On Wed, Jun 27, 2012 at 9:47 PM, Andreas Färber afaer...@suse.de wrote:
Am 18.06.2012 11:34, schrieb Li Zhang:
Also instanciate the USB
On Thu, Jun 28, 2012 at 7:03 PM, Alexander Graf ag...@suse.de wrote:
On 06/28/2012 09:34 AM, Li Zhang wrote:
On Wed, Jun 27, 2012 at 10:37 PM, Alexander Grafag...@suse.de wrote:
On 27.06.2012, at 16:32, Andreas Färber wrote:
Am 27.06.2012 15:55, schrieb Li Zhang:
On Wed, Jun 27, 2012
On Thu, Jun 28, 2012 at 9:22 PM, Alexander Graf ag...@suse.de wrote:
On 06/15/2012 02:46 PM, Li Zhang wrote:
On Fri, Jun 15, 2012 at 7:09 PM, Andreas Färberafaer...@suse.de wrote:
You don't seem to be getting what I'm saying: As discussed in great
lengths for how to access a passed
Hi Andreas,
I send out this patch with vga enablement on papr, which needs usb enabled.
Is there any more suggestion about this patch?
Who else need to ack it?
Thank you very much. :)
On Mon, Jun 18, 2012 at 5:22 PM, Li Zhang zhlci...@gmail.com wrote:
For pseries machine, it needs to enable
Hi Andreas,
This patch is to enable vga which works well on our internal tree.
Would you please help review it?
Any suggestion is appreciated.
Thanks a lot. :)
On Mon, Jun 18, 2012 at 5:34 PM, Li Zhang zhlci...@gmail.com wrote:
Also instanciate the USB keyboard and mouse when that option
On Wed, Jun 27, 2012 at 8:00 PM, Andreas Färber afaer...@suse.de wrote:
Am 18.06.2012 11:22, schrieb Li Zhang:
For pseries machine, it needs to enable usb to add
keyboard or usb mouse. -usb option won't be used in
the future, and machine options is a better way to
enable usb.
So this patch
On Wed, Jun 27, 2012 at 9:22 PM, Peter Crosthwaite
peter.crosthwa...@petalogix.com wrote:
On Wed, Jun 27, 2012 at 11:13 PM, Li Zhang zhlci...@gmail.com wrote:
On Wed, Jun 27, 2012 at 8:00 PM, Andreas Färber afaer...@suse.de wrote:
Am 18.06.2012 11:22, schrieb Li Zhang:
For pseries machine
On Wed, Jun 27, 2012 at 9:24 PM, Andreas Färber afaer...@suse.de wrote:
Am 27.06.2012 15:13, schrieb Li Zhang:
On Wed, Jun 27, 2012 at 8:00 PM, Andreas Färber afaer...@suse.de wrote:
Am 18.06.2012 11:22, schrieb Li Zhang:
+ bool usb_on = false;
Didn't you want this to be true for sPAPR
On Wed, Jun 27, 2012 at 9:47 PM, Andreas Färber afaer...@suse.de wrote:
Am 18.06.2012 11:34, schrieb Li Zhang:
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin
On Mon, Jun 18, 2012 at 3:29 PM, Markus Armbruster arm...@redhat.com wrote:
Li Zhang zhlci...@gmail.com writes:
On Fri, Jun 15, 2012 at 10:34 PM, Markus Armbruster arm...@redhat.com
wrote:
Li Zhang zhlci...@gmail.com writes:
On Fri, Jun 15, 2012 at 8:04 PM, Markus Armbruster arm
On Mon, Jun 18, 2012 at 3:54 PM, Peter Crosthwaite
peter.crosthwa...@petalogix.com wrote:
3. Can't have USB: fail if the user tries to enable it.
Code sketch:
/* init USB devices */
if (!machine-has_usb) {
if (usb_enabled)
[report error; should point to the
.
For specific machines, they will get the machine option
and then create usb controller according to usb option.
In this patch, usb is on by default on pseries.
So, for -nodefault,usb should be set off in the command
line as the following:
-machine type=pseries,usb=off.
Signed-off-by: Li Zhang zhlci
Also instanciate the USB keyboard and mouse when that option is used
(you can still use -device to create individual devices without all
the defaults)
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/spapr.c | 43
On Sat, Jun 16, 2012 at 6:51 AM, Benjamin Herrenschmidt
b...@au1.ibm.com wrote:
On Fri, 2012-06-15 at 22:40 -0400, Li Zhang wrote:
For pseries machine, it needs to enable usb to add
keyboard or usb mouse. -usb option won't be used in
the future, and machine options is a better way to
enable
On Fri, Jun 15, 2012 at 10:34 PM, Markus Armbruster arm...@redhat.com wrote:
Li Zhang zhlci...@gmail.com writes:
On Fri, Jun 15, 2012 at 8:04 PM, Markus Armbruster arm...@redhat.com wrote:
Li Zhang zhlci...@linux.vnet.ibm.com writes:
For pseries machine, it needs to enable usb to add
On Fri, Jun 15, 2012 at 1:15 PM, Peter Crosthwaite
peter.crosthwa...@petalogix.com wrote:
On Fri, Jun 15, 2012 at 1:06 PM, Li Zhang zhlci...@gmail.com wrote:
On Thu, Jun 14, 2012 at 10:27 PM, Andreas Färber afaer...@suse.de
wrote:
Am 14.06.2012 07:17, schrieb zhlci...@gmail.com
, for -nodefault,
usb should be set off in the command line as the following:
-machine type=pseries,usb=off.
Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com
---
hw/spapr.c |5 +
sysemu.h |1 +
vl.c | 17 +
3 files changed, 23 insertions(+)
diff --git a/hw
On Fri, Jun 15, 2012 at 7:09 PM, Andreas Färber afaer...@suse.de wrote:
Am 15.06.2012 05:06, schrieb Li Zhang:
On Thu, Jun 14, 2012 at 10:27 PM, Andreas Färber afaer...@suse.de
mailto:afaer...@suse.de wrote:
Am 14.06.2012 07:17, schrieb zhlci...@gmail.com
mailto:zhlci
On Fri, Jun 15, 2012 at 8:04 PM, Markus Armbruster arm...@redhat.com wrote:
Li Zhang zhlci...@linux.vnet.ibm.com writes:
For pseries machine, it needs to enable usb to add
keyboard or usb mouse. -usb option won't be used in
the future, and machine options is a better way to
enable usb.
So
On Fri, Jun 15, 2012 at 8:30 PM, Andreas Färber afaer...@suse.de wrote:
Am 15.06.2012 12:06, schrieb Li Zhang:
For pseries machine, it needs to enable usb to add
keyboard or usb mouse. -usb option won't be used in
the future, and machine options is a better way to
enable usb.
So this patch
OK,sorry for my fault.
best regards
Li Zhang
在 2012-6-15 上午6:05,Benjamin Herrenschmidt b...@au1.ibm.com写道:
On Thu, 2012-06-14 at 16:27 +0200, Andreas Färber wrote:
Am 14.06.2012 07:17, schrieb zhlci...@gmail.com:
From: Li Zhang zhlci...@linux.vnet.ibm.com
For pseries machine
101 - 200 of 211 matches
Mail list logo