The device shall set its default hardware state after each reset.
This includes that the timer is stopped which is especially important
if the guest does a reboot independantly of a watchdog bite. I moved
the initialization of the state variables completely from the init
to the reset function which
On 12/08/10 01:32, Jan Kiszka wrote:
> Am 08.12.2010 09:26, Gerd Hoffmann wrote:
>> Hi,
>>
>>> It appears that the import of the ehci code to spice has completely lost
>>> the development history and code contributions - from the original
>>> version by Mark Burkley through the work I've done o
If a user decides to punish a guest by revoking its block device via
drive_del, and subsequently also attempts to remove the pci device
backing it, and the device is using blockdev_auto_del() then we get a
segfault when we attempt to access dinfo->auto_del.[1]
The fix is to check if drive_get_by_b
Hi,
I'd like to move IRC channels from FreeNode to OFTC, so please join
#qemu on OFTC starting now.
Regards,
Anthony Liguori
> > > > > But that's entirely in guest memory, so it's limited to the amount
> > > > > of RAM that has been allocated to the guest.
> > > >
> > > > Exactly. The guest can cause ram_size * nr_ports of additional host
> > > > memory to be allocated. Not acceptable.
> > >
> > > OK -- so this is how
Hi,
Where was the messiness given that most of the changes are to a brand
new file?
From the "devel -> merge with upstream -> fixup breakage + commit ->
devel" cycle. When rebasing *that* you simply don't get a nice +
bisectable patch series. Early patches didn't apply cleanly due to
bu
On top of "add hotplug opt-out option for devices" patchset
http://www.mail-archive.com/qemu-devel@nongnu.org/msg46953.html.
Signed-off-by: Marcelo Tosatti
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 1990424..4d099e3 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -38,6 +38,7 @@
-Original Message-
From: Gerd Hoffmann [mailto:kra...@redhat.com]
Sent: Wed 12/8/2010 10:14 AM
To: David Ahern (daahern)
Cc: Jan Kiszka; qemu-devel; Jes Sorensen
Subject: Re: [Qemu-devel] State of EHCI emulation for QEMU
Hi,
> Where was the messiness given that most of the changes
On Wed, Dec 08, 2010 at 03:08:59PM -0200, Marcelo Tosatti wrote:
> Use _RMV method to indicate whether device can be removed.
>
But Windows still shows device as removable in the gui and allows to
remove it, correct?
> Data is retrieved from QEMU via I/O port 0xae0c.
>
> Signed-off-by: Marcelo T
Use _RMV method to indicate whether device can be removed.
Data is retrieved from QEMU via I/O port 0xae0c.
Signed-off-by: Marcelo Tosatti
Index: seabios/src/acpi-dsdt.dsl
===
--- seabios.orig/src/acpi-dsdt.dsl
+++ seabios/src/acpi
On Wed, 8 Dec 2010 10:05:00 -0600
Ryan Harper wrote:
> If a user decides to punish a guest by revoking its block device via
> drive_del, and subsequently also attempts to remove the pci device
> backing it, and the device is using blockdev_auto_del() then we get a
> segfault when we attempt to ac
On 12/07/10 18:32, Michael Roth wrote:
> On 12/07/2010 08:37 AM, Jes Sorensen wrote:
>> On 12/03/10 19:03, Michael Roth wrote:
>>> +static xmlrpc_value *va_getdmesg(xmlrpc_env *env,
>>> + xmlrpc_value *param,
>>> + void *user_data)
>>> +{
>>
Currently, x86_64-softmmu qemu segfaults when trying to use > 4095M memsize.
This patch adds a simple check and error message (much like the 2047 limit on
32-bit hosts) on ram_size in the control path after we determine we're
not using kvm
Upstream qemu-kvm is affected if using the -no-kvm option;
On Wed, Dec 08, 2010 at 07:34:42PM +0200, Gleb Natapov wrote:
> On Wed, Dec 08, 2010 at 03:08:59PM -0200, Marcelo Tosatti wrote:
> > Use _RMV method to indicate whether device can be removed.
> >
> But Windows still shows device as removable in the gui and allows to
> remove it, correct?
No. From
On Tue, Dec 07, 2010 at 03:12:36PM -0200, Glauber Costa wrote:
> On Mon, 2010-12-06 at 19:04 -0200, Marcelo Tosatti wrote:
> > On Mon, Dec 06, 2010 at 09:03:46AM -0500, Glauber Costa wrote:
> > > Usually nobody usually thinks about that scenario (me included and
> > > specially),
> > > but kvmcloc
I suffer from the same issue using QEMU 1.1. I tried 5 different USB
thumbdrives and none of them worked. Interesting was that a USB 1.1
mouse was working though.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.
On Wed, Dec 08, 2010 at 04:01:18PM -0200, Marcelo Tosatti wrote:
> On Wed, Dec 08, 2010 at 07:34:42PM +0200, Gleb Natapov wrote:
> > On Wed, Dec 08, 2010 at 03:08:59PM -0200, Marcelo Tosatti wrote:
> > > Use _RMV method to indicate whether device can be removed.
> > >
> > But Windows still shows d
On 12/08/2010 12:01 PM, Luiz Capitulino wrote:
Currently, x86_64-softmmu qemu segfaults when trying to use> 4095M memsize.
This patch adds a simple check and error message (much like the 2047 limit on
32-bit hosts) on ram_size in the control path after we determine we're
not using kvm
Upstream
On Wed, 08 Dec 2010 12:23:12 -0600
Anthony Liguori wrote:
> On 12/08/2010 12:01 PM, Luiz Capitulino wrote:
> > Currently, x86_64-softmmu qemu segfaults when trying to use> 4095M memsize.
> > This patch adds a simple check and error message (much like the 2047 limit
> > on
> > 32-bit hosts) on r
On 12/08/2010 12:27 PM, Luiz Capitulino wrote:
On Wed, 08 Dec 2010 12:23:12 -0600
Anthony Liguori wrote:
On 12/08/2010 12:01 PM, Luiz Capitulino wrote:
Currently, x86_64-softmmu qemu segfaults when trying to use> 4095M memsize.
This patch adds a simple check and error message (muc
On Wed, Dec 08, 2010 at 09:58:35PM +0200, Gleb Natapov wrote:
> On Wed, Dec 08, 2010 at 04:01:18PM -0200, Marcelo Tosatti wrote:
> > On Wed, Dec 08, 2010 at 07:34:42PM +0200, Gleb Natapov wrote:
> > > On Wed, Dec 08, 2010 at 03:08:59PM -0200, Marcelo Tosatti wrote:
> > > > Use _RMV method to indica
On Wed, Dec 8, 2010 at 12:13 PM, Alexander Graf wrote:
> +struct AHCIDevice {
> + IDEBus port;
> + int port_no;
> + uint32_t port_state;
> + uint32_t finished;
> + AHCIPortRegs port_regs;
> + struct AHCIState *hba;
> + uint8_t *lst;
> + uint8_t *res_fis;
> + uint8_t *cmd
On Mon, Dec 06, 2010 at 10:26:02AM +0100, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> hw/grlib_gptimer.c | 448
>
> 1 files changed, 448 insertions(+), 0 deletions(-)
>
> diff --git a/hw/grlib_gptimer.c b/hw/grlib_gpti
On 12/07/10 18:19, Michael Roth wrote:
> On 12/07/2010 07:44 AM, Jes Sorensen wrote:
>>> +static int va_end_of_header(char *buf, int end_pos)
>>> +{
>>> +return !strncmp(buf+(end_pos-2), "\n\r\n", 3);
>>> +}
>>
>> Maybe I am missing something here, but it looks like you do a strncmp to
>> a cha
On 12/08/2010 01:49 PM, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzini
---
I had this patch lying around but I don't think I ever got
qruncom to work completely.
Makefile.target |3 ++
tests/Makefile |7 ++--
tests/qruncom.c | 93 ++
On 12/07/10 17:00, Adam Litke wrote:
> Hi Jes, you raise some good points and pitfalls with the current getfile
> approach. I've been thinking about an alternative and am wondering what
> you (and others) think...
>
> First off, I think we should switch to a copyfile() API that allows us
> to avo
When I use the command 'virsh save' to save the domain state,
I receive the following error message:
operation failed: Migration unexpectedly failed.
I debug the qemu by adding some printf(), and find the function
pclose() returns -1.
I use strace to trace qemu, the log is as the following:
=
Am 09.12.2010 07:58, Lai Jiangshan wrote:
>
> Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the
> user space APIC emulation or some other source raised them.
In that light, the subject is not absolutely correct.
>
> Signed-off-by: Lai Jiangshan
> ---
> diff --git a/targe
On Wed, Dec 08, 2010 at 12:01:43PM +0100, Alexander Graf wrote:
> ping?
I've applied this, thanks.
> On 25.11.2010, at 08:20, Alexander Graf wrote:
>
> > I get a warning on a signed comparison with an unsigned variable, so
> > let's make the variable signed and be happy.
> >
> > Signed-off-by:
What is the reason to duplicate cpu_{in,out}[bwl]() instead of
ioport-user.c?
On Wed, Dec 08, 2010 at 01:49:11PM +0100, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> I had this patch lying around but I don't think I ever got
> qruncom to work completely.
>
> Makefi
On Sat, Dec 04, 2010 at 02:35:53PM +0100, Paolo Bonzini wrote:
> On 12/02/2010 11:54 PM, Michael S. Tsirkin wrote:
> >+bool assert = pcie_aer_root_does_trigger(root_cmd_set, root_status);
>
> Risky variable name, I think it would fail if someone includes assert.h.
>
> Paolo
We already do
On 12/09/2010 04:32 AM, Isaku Yamahata wrote:
What is the reason to duplicate cpu_{in,out}[bwl]() instead of
ioport-user.c?
That's the reason why I hadn't submitted the patch so far, it's not
really finished. I also wanted to remove the need for mmap(MAP_FIXED).
Paolo
On 12/08/2010 11:51 PM, Edgar E. Iglesias wrote:
On Mon, Dec 06, 2010 at 10:26:02AM +0100, Fabien Chouteau wrote:
Signed-off-by: Fabien Chouteau
---
hw/grlib_gptimer.c | 448
1 files changed, 448 insertions(+), 0 deletions(-)
diff --git
The following changes since commit 138b38b61bf92d4e9588acf934e532499c94e185:
ppc: kvm: fix signedness warning (2010-12-08 21:30:19 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Christian Brunner (1):
ceph/rbd block driver for qemu-kvm
Jes S
From: Jes Sorensen
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
qemu-img.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index fa77ac0..eca99c4 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -699,11 +699,7 @@ static int img_co
This bug was fixed in the package qemu-kvm - 0.12.5+noroms-0ubuntu7.1
---
qemu-kvm (0.12.5+noroms-0ubuntu7.1) maverick-proposed; urgency=low
* Add caps-lock-key-up-event.patch to enable normal up/down events for
Caps-Lock and Num-Lock keys by setting SDL_DISABLE_LOCK_KEYS (which
Signed-off-by: Lai Jiangshan
---
diff --git a/qerror.c b/qerror.c
index a7ef758..fd66d2a 100644
--- a/qerror.c
+++ b/qerror.c
@@ -197,6 +197,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "Too many open files",
},
{
+.error_fmt = QERR_TOO_MANY_KEYS
From: Jes Sorensen
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
qemu-malloc.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/qemu-malloc.c b/qemu-malloc.c
index 28fb05a..b9b3851 100644
--- a/qemu-malloc.c
+++ b/qemu-malloc.c
@@ -64,10 +64,13 @@ void *
From: Stefan Hajnoczi
Filenames may start with ":" to explicitly use a protocol like
nbd. Filenames with unknown protocols are rejected in most of QEMU
except for bdrv_create_file(). Even if a file with an invalid filename
can be created, QEMU cannot use it since all the other relevant
function
From: Jes Sorensen
This patch changes qemu-img to exit if an unknown option is detected,
instead of trying to continue with a set of arguments which may be
incorrect.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
qemu-img.c |8
1 files changed, 8 insertions(+), 0 dele
To clarify: custom kernel == vanilla Linux kernel, i.e. not distribution
kernel.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/687733
Title:
Linux KSM not compiled in (MADV_MERGEABLE always undef)
On Wed, Dec 08, 2010 at 05:46:22PM +0900, Isaku Yamahata wrote:
> I respined the patch series by mst for bisectability.
Applied, thanks.
> Changes v1 -> v2:
> - reorder patches for bisectability
> - s/assert/trigger/ to avoid name conflict
> - abort() instead of assert(0)
>
> Original patch desc
From: Christian Brunner
RBD is an block driver for the distributed file system Ceph
(http://ceph.newdream.net/). This driver uses librados (which is part
of the Ceph server) for direct access to the Ceph object store and is
running entirely in userspace (Yehuda also wrote a driver for the
linux k
From: Jes Sorensen
This reestablished the old default of using bytes as the default for
the size argument, and not MB as we do in pretty much every other
place.
Signed-off-by: Jes Sorensen
---
qemu-img.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-img.c b/qem
From: Jes Sorensen
This cleans up the handling of image size in img_create() by parsing
the value early, and then only setting it once if a value has been
added as the last argument to the command line.
Signed-off-by: Jes Sorensen
---
qemu-img.c | 23 +--
1 files changed,
Jason Wang wrote:
> The saving and restoring of error_code seems lost and convert the
> error_code to uint32_t.
>
> Signed-off-by: Jason Wang
> ---
> target-i386/cpu.h |4 ++--
> target-i386/machine.c |2 ++
> 2 files changed, 4 insertions(+), 2 deletions(-)
It should be a new subse
From: Jes Sorensen
This introduces strtosz_suffix() which allows the caller to specify a
default suffix in case the non default of MB is wanted.
strtosz() is kept as a wrapper for strtosz_suffix() which keeps it's
current default of MB.
Signed-off-by: Jes Sorensen
---
cutils.c | 17 +++
Signed-off-by: Lai Jiangshan
---
diff --git a/qerror.c b/qerror.c
index fd66d2a..07b4cfc 100644
--- a/qerror.c
+++ b/qerror.c
@@ -205,6 +205,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "An undefined error has ocurred",
},
{
+.error_fmt = QERR_UN
On 12/09/2010 12:06 PM, Edgar E. Iglesias wrote:
On Thu, Dec 09, 2010 at 12:03:35PM +0100, Fabien Chouteau wrote:
On 12/09/2010 11:32 AM, Edgar E. Iglesias wrote:
On Mon, Dec 06, 2010 at 10:26:03AM +0100, Fabien Chouteau wrote:
Signed-off-by: Fabien Chouteau
---
hw/grlib_irqmp.c | 416
++
From: Jes Sorensen
This introduces strtosz_suffix() which allows the caller to specify a
default suffix in case the non default of MB is wanted.
strtosz() is kept as a wrapper for strtosz_suffix() which keeps it's
current default of MB.
Signed-off-by: Jes Sorensen
---
cutils.c | 17 +++
From: Jes Sorensen
This patch set introduces strtosz_suffix() which is needed to be able
to use strtosz parsing with a non MB default suffix. This is used to
clean up qemu-img.c:img_create().
Kevin asked me to rebase this instead of applying the other patches on
top, so please discard the previo
From: Jes Sorensen
This cleans up the handling of image size in img_create() by parsing
the value early, and then only setting it once if a value has been
added as the last argument to the command line.
Signed-off-by: Jes Sorensen
---
qemu-img.c | 23 +--
1 files changed,
Switch the usb storage driver over to the
new descriptor infrastructure.
Signed-off-by: Gerd Hoffmann
---
hw/usb-msd.c | 167 ++
1 files changed, 63 insertions(+), 104 deletions(-)
diff --git a/hw/usb-msd.c b/hw/usb-msd.c
index 0a95d8d..2
Am 30.11.2010 16:14, schrieb Stefan Hajnoczi:
> The bdrv_find_protocol() function returns NULL if an unknown protocol
> name is given. It returns the "file" protocol when the filename
> contains no protocol at all. This makes it difficult to distinguish
> between paths which contain a protocol an
This patch adds hw/usb-desc.[ch] files. They carry data structures
for various usb descriptors and helper functions to generate usb
packets from the structures.
The intention is to have a internal representation of the device
desription which is more usable than the current char array blobs,
so w
Switch the usb hid drivers (keyboard, mouse, tablet) over to the
new descriptor infrastructure.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hid.c | 448 +++---
1 files changed, 205 insertions(+), 243 deletions(-)
diff --git a/hw/usb-hid.c b/hw/us
On 12/09/2010 11:32 AM, Edgar E. Iglesias wrote:
On Mon, Dec 06, 2010 at 10:26:03AM +0100, Fabien Chouteau wrote:
Signed-off-by: Fabien Chouteau
---
hw/grlib_irqmp.c | 416 ++
1 files changed, 416 insertions(+), 0 deletions(-)
diff --git
Switch the usb wavom driver over to the
new descriptor infrastructure.
Signed-off-by: Gerd Hoffmann
---
hw/usb-wacom.c | 178 +++-
1 files changed, 73 insertions(+), 105 deletions(-)
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c
index 47f26cd.
If a serial number is present for the drive fill it into the usb
serialnumber string descriptor.
Signed-off-by: Gerd Hoffmann
---
hw/usb-msd.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/usb-msd.c b/hw/usb-msd.c
index 20ab886..9aa 100644
--- a/hw/usb-msd.
From: Jes Sorensen
Signed-off-by: Jes Sorensen
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
qemu-img.c | 77 +++
1 files changed, 51 insertions(+), 26 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index 50cfdda..cc77
Am 08.12.2010 13:13, schrieb Alexander Graf:
> The ATA core is currently heavily intertwined with BMDMA code. Let's loosen
> that a bit, so we can happily replace the DMA backend with different
> implementations.
>
> Signed-off-by: Alexander Graf
>
> ---
>
> v7 -> v8:
>
> - rewrite as DMA op
Switch the usb hub driver over to the
new descriptor infrastructure.
It also removes the nr_ports variable and MAX_PORTS define and
introduces a NUM_PORTS define instead. The numver of ports was
(and still is) fixed at 8 anyway.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hub.c | 141
From: Jes Sorensen
This allows for jumping to 'out:' consistently for error exit.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
qemu-img.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index eca99c4..aded72d 100644
---
Add handle_attach() callback to USBDeviceInfo which is called by the
generic package handler when the device is attached to the usb bus
(i.e. plugged into a port).
Signed-off-by: Gerd Hoffmann
---
hw/usb.c |7 ++-
hw/usb.h |5 +
2 files changed, 11 insertions(+), 1 deletions(-)
Add usb_wakeup() call to the hid driver so remote wakeup actually works.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hid.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index 1c35960..60fa57f 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -429
From: Jes Sorensen
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
qemu-img.c | 18 --
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index 6fd52e9..5b6e648 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -349,13 +349,15 @@ stati
LinkedIn
Anbang Ruan requested to add you as a connection on LinkedIn:
--
Jiajun,
I'd like to add you to my professional network on LinkedIn.
- Anbang
Accept invitation from Anbang Ruan
http://www.linkedin.com/e/-kkb1ec-ghhmmrcc-5/qTMmi8QEI_f3
On 12/08/2010 10:43 PM, Stefano Bonifazi wrote:
I've linked qemu-malloc.o and cutils.o together with qruncom.c and I
managed to succesfully make it!
here the make line:
#$(MAKE) -C ../i386-linux-user libqemu.a
$(CC) $(CFLAGS) -fomit-frame-pointer $(LDFLAGS) -I../target-i386 -I..
-I../linux-user
From: Stefan Hajnoczi
Yoda said, "list is the templace is". Fix this.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
qemu-option.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu-option.c b/qemu-option.c
index e380fc1..65db542 100644
--- a/qemu-
Add high speed support to the usb mass storage device. With this patch
applied the linux kernel recognises the usb storage device as highspeed
capable device and suggests to connect it to a highspeed port instead of
the uhci. Tested with both uhci and (not-yet submitted) ehci.
Signed-off-by: Ger
Convert do_inject_nmi() to QObject, we need to use it(via libvirt).
It is trivial, as it never fails, doesn't have output nor return any data.
Signed-off-by: Lai Jiangshan
---
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 7a49b74..2e6b034 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.
Reviewed-by: Stefan Hajnoczi
From: Stefan Hajnoczi
The qemu-img create command should check the backing format to ensure
only image files with valid backing formats are created. By checking in
qemu-img.c we can print a useful error message.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
qemu-img.c | 22 +
Public bug reported:
Linux KSM support is not enabled because MADV_MERGEABLE remains undefined.
It seems that asm-generic/mman-common.h is not included. Maybe some kind of
header dependency problem?
Adding
#include
to exec.c of qemu-kvm-0.13.0 enables use of KSM and values change in
/sys/kern
From: Jes Sorensen
Kevin pointed out that my chance to img_create()'s handling of the
image size, changed the previous default of byte for size if no suffix
was specified, since strtosz() defaults to MB.
This patch set introduces strtosz_suffix() and then changes
img_create() to use that instead
Hi,
This patch series is the start for an overhaul of the usb descriptor
handling for emulated usb devices. Instead of storing the device
desriptors in blobs (aka char arrays) they are stored in structs,
which makes it alot easier to work with them. This in turn allows
to move common device ma
From: Jes Sorensen
This consolidates the printing of block driver options in
print_block_option_help() which is called from both img_create() and
img_convert().
This allows for the "?" detection to be done just after the parsing of
options and the filename, instead of half way down the codepath
From: Jes Sorensen
If -6 or -e is specified, an error message is printed and we exit. It
does not print help() to avoid the error message getting lost in the
noise.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
block_int.h |1 -
qemu-img.c | 53 ++---
From: Jes Sorensen
This introduces strtosz_suffix() which allows the caller to specify a
default suffix in case the non default of MB is wanted.
strtosz() is kept as a wrapper for strtosz_suffix() which keeps it's
current default of MB.
Signed-off-by: Jes Sorensen
---
cutils.c | 17 +++
Switch the usb serial drivers (serial, braille) over to the
new descriptor infrastructure.
Note that this removes the freely configurable vendor and product id
properties. I think the only reason this was configurable is that the
only difference between the serial and the braille device is the
ve
The saving and restoring of error_code seems lost and convert the
error_code to uint32_t.
Signed-off-by: Jason Wang
---
target-i386/cpu.h |4 ++--
target-i386/machine.c |2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 0
From: Stefan Hajnoczi
parse_option_parameters() may need to create a new option parameter list
from a template list. Use append_option_parameters() instead of
duplicating the code.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
qemu-option.c |9 +
1 files changed, 1
When the bmdma transfering ended, the unit were set to -1(0xFF), but
after migration ide_pci_post_load() would change it to 1. This is not
intended and it also would break the migration stability that we
could not get exactly the same exec file before and after migration.
So this patch drop the id
USB_REQ_SET_ADDRESS handling is identical in *all* emulated devices.
Move it to common code.
Signed-off-by: Gerd Hoffmann
---
hw/usb-bt.c |4
hw/usb-desc.c |6 ++
hw/usb-hid.c|4
hw/usb-hub.c|4
hw/usb-msd.c|4
hw/usb-net.c|5
This patch allows to set usb descriptor strings per device instance.
Signed-off-by: Gerd Hoffmann
---
hw/usb-bus.c |1 +
hw/usb-desc.c | 52
hw/usb-desc.h |4 +++-
hw/usb.h |9 +
4 files changed, 57 insertions(+), 9
Convert do_sendkey() to QObject,QError, we need to use it.(via libvirt)
It is a trivial conversion, carefully converted the error reports.
Signed-off-by: Lai Jiangshan
---
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 23024ba..7a49b74 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@
This patch moves setting and clearing the remote_wakeup feature
bit (via USB_REQ_{SET,CLEAR}_FEATURE) to common code. Also
USB_REQ_GET_STATUS handling is moved to common code.
Signed-off-by: Gerd Hoffmann
---
hw/usb-bt.c | 21 +++--
hw/usb-desc.c | 26 +
This patch adds fields to the USBDevice struct for the current
speed (hard-wired to full speed for now) and current device
configuration. Also a init function is added which inializes
these fields. This allows USB_REQ_{GET,SET}_CONFIGURATION
handling to be moved to common code.
For most drivers
Add support for remote wakeup to the UHCI adapter.
Signed-off-by: Gerd Hoffmann
---
hw/usb-uhci.c | 23 +--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index debf7f7..60d5d57 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.c
@@
Add usb_desc_attach() which sets up the device according to the speed
the usb port is able to handle. This function can be hooked into the
handle_attach callback.
Signed-off-by: Gerd Hoffmann
---
hw/usb-desc.c | 36 +---
hw/usb-desc.h |1 +
2 files changed,
Add a field to usb ports indicating the speed(s) they are
able to handle.
Signed-off-by: Gerd Hoffmann
---
hw/usb-bus.c |3 ++-
hw/usb-hub.c |3 ++-
hw/usb-musb.c |3 ++-
hw/usb-ohci.c |3 ++-
hw/usb-uhci.c |3 ++-
hw/usb.h |9 -
6 files changed, 18 inserti
Hi,
New features developed for the kernel are done in a separate git trees.
When a feature is ready for inclusion into the main kernel tree, a pull
request is sent. That workflow maintains a complete change history for
the feature. Take performance events for example: you can go into Linus'
gi
Add separate detach callback to USBPortOps, split
uhci/ohci/musb/usbhub attach functions into two.
Move common code to the usb_attach() function, only
the hardware-specific bits remain in the attach/detach
callbacks.
Keep track of the port it is attached to for each usb device.
Signed-off-by: Ge
Jason Wang wrote:
> When the bmdma transfering ended, the unit were set to -1(0xFF), but
> after migration ide_pci_post_load() would change it to 1. This is not
> intended and it also would break the migration stability that we
> could not get exactly the same exec file before and after migration.
On 11/26/10 19:13, Hans de Goede wrote:
The next patch in this series introduces multiple ways to get the
alt setting dependent upon usb_fs_type, it is cleaner to put this
into its own function.
Note that this patch also changes the assumed alt setting in case
of an error getting the alt setting
From: Jes Sorensen
This cleans up the handling of image size in img_create() by parsing
the value early, and then only setting it once if a value has been
added as the last argument to the command line.
Signed-off-by: Jes Sorensen
---
qemu-img.c | 23 +--
1 files changed,
On Wed, Dec 8, 2010 at 23:18, Anthony Liguori wrote:
> Hi,
>
> I'd like to move IRC channels from FreeNode to OFTC, so please join #qemu on
> OFTC starting now.
OFTC is nice place too IMHO... but if it's not a top secret, why move?
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consu
The following changes since commit 138b38b61bf92d4e9588acf934e532499c94e185:
ppc: kvm: fix signedness warning (2010-12-08 21:30:19 +0100)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemu spice.v23.pull
Gerd Hoffmann (7):
spice: add qxl vgabios binary.
** Changed in: kvm (Ubuntu)
Status: New => Invalid
** Changed in: qemu (Ubuntu)
Status: New => Invalid
** Changed in: qemu-kvm (Ubuntu)
Importance: Undecided => Medium
** Changed in: qemu-kvm (Ubuntu)
Status: New => Triaged
--
You received this bug notification because
On 12/09/2010 08:16 AM, Paolo Bonzini wrote:
On 12/08/2010 10:43 PM, Stefano Bonifazi wrote:
Anyway running it with a com file as argument gave the error:
mmap: Operation not permitted
You have to run it as root I think.
Paolo
Thank you! Running as root worked, though it raises then the f
1 - 100 of 153 matches
Mail list logo