qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 5/8] ide/pci: convert to qdev.


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCH 5/8] ide/pci: convert to qdev.
Date: Fri, 11 Sep 2009 16:13:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

On 09/11/09 15:56, Juan Quintela wrote:
Gerd Hoffmann<address@hidden>  wrote:
With this patch applied ide drives (when attached to a pci adapter) can
be created via -device, like this:
-    IDEBus bus[2];
+    IDEBus *bus[2];

You change a nice static array for a pointer to one array.

I can't spot a pointer here.

VMState is happier with embedded arrays and not pointers to arrays.

There also is no pointer to an array. It is an embedded array holding pointers.

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]