Usb 20180126 v3 patches
The following changes since commit 2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125' into staging (2018-01-25 17:04:47 +0000)
are available in the git repository at:
git://git.kraxel.org/qemu tags/usb-20180126-v3-pull-request
for you to fetch changes up to 80ae865468bde918363a123aa26c6fc4385023ac:
usb-ccid: convert CCIDCardClass::exitfn() -> unrealize() (2018-01-26 07:59:33 +0100)
----------------------------------------------------------------
usb: -usbdevice cleanups, storage fix, QOMify ccid.
----------------------------------------------------------------
Fam Zheng (1):
usb-storage: Fix share-rw option parsing
Mao Zhongyi (1):
hw/usb/ccid: Make ccid_card_init() take an error parameter
Philippe Mathieu-Daudé (2):
usb-ccid: inline ccid_card_initfn() in ccid_card_realize()
usb-ccid: convert CCIDCardClass::exitfn() -> unrealize()
Thomas Huth (1):
usb: Remove legacy -usbdevice options (host, serial, disk and net)
hw/usb/ccid.h | 6 +- include/hw/scsi/scsi.h | 1 + include/hw/usb.h | 1 - hw/scsi/scsi-bus.c | 9 ++- hw/usb/ccid-card-emulated.c | 48 +++++++------- hw/usb/ccid-card-passthru.c | 13 ++-- hw/usb/dev-network.c | 26 -------- hw/usb/dev-serial.c | 30 --------- hw/usb/dev-smartcard-reader.c | 63 ++++++++---------- hw/usb/dev-storage.c | 61 +----------------- hw/usb/host-legacy.c | 144 ------------------------------------------ hw/usb/host-stub.c | 6 -- vl.c | 15 ----- hw/usb/Makefile.objs | 2 +- qemu-options.hx | 19 ------ 15 files changed, 74 insertions(+), 370 deletions(-) delete mode 100644 hw/usb/host-legacy.c
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 5/5] usb-ccid: convert CCIDCardClass::exitfn() -> unrealize()
From: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
--- hw/usb/ccid.h | 4 +++- hw/usb/ccid-card-emulated.c | 4 ++-- hw/usb/ccid-card-passthru.c | 1 + hw/usb/dev-smartcard-reader.c | 25 +++++++++++-------------- 4 files changed, 17 insertions(+), 17 deletions(-)
hw/usb/ccid.h +3 -1
@@ -28,13 +28,15 @@ typedef struct CCIDCardInfo CCIDCardInfo;* into the smartcard device (hw/ccid-card-*.c) */ typedef struct CCIDCardClass { +/*< private >*/ DeviceClass parent_class; +/*< public >*/ const uint8_t *(*get_atr)(CCIDCardState *card,uint32_t *len);void (*apdu_from_guest)(CCIDCardState *card,const uint8_t *apdu,uint32_t len); -void (*exitfn)(CCIDCardState *card);void (*realize)(CCIDCardState *card,Error **errp); +void (*unrealize)(CCIDCardState *card,Error **errp); }CCIDCardClass ;/*
hw/usb/ccid-card-emulated.c +2 -2
@@ -547,7 +547,7 @@ static void emulated_realize(CCIDCardState *base, Error **errp) card, QEMU_THREAD_JOINABLE); } -static void emulated_exitfn (CCIDCardState *base) +static void emulated_unrealize (CCIDCardState *base,Error **errp) {EmulatedState *card =EMULATED_CCID_CARD (base);VEvent *vevent =vevent_new (VEVENT_LAST ,NULL ,NULL );
@@ -582,7 +582,7 @@ static void emulated_class_initfn(ObjectClass *klass, void *data)CCIDCardClass *cc =CCID_CARD_CLASS (klass); cc->realize = emulated_realize; - cc->exitfn = emulated_exitfn; + cc->unrealize = emulated_unrealize; cc->get_atr = emulated_get_atr; cc->apdu_from_guest = emulated_apdu_from_guest;set_bit (DEVICE_CATEGORY_INPUT , dc->categories);
hw/usb/ccid-card-passthru.c +1 -0
@@ -9,6 +9,7 @@*/ #include "qemu/osdep.h" +#include "qapi/error.h" #include <cacard/vscard_common.h> #include "chardev/char-fe.h" #include "qemu/error-report.h"
hw/usb/dev-smartcard-reader.c +11 -14
@@ -500,16 +500,6 @@ static void ccid_card_apdu_from_guest(CCIDCardState *card, } } -static void ccid_card_exitfn (CCIDCardState *card) -{ -CCIDCardClass *cc =CCID_CARD_GET_CLASS (card); - -if (cc->exitfn) { - cc->exitfn (card); - } - -} -static bool ccid_has_pending_answers (USBCCIDState *s) {return s->pending_answers_num >0 ;
@@ -1271,18 +1261,25 @@ void ccid_card_card_inserted(CCIDCardState *card)ccid_on_slot_change (s, true); } -static int ccid_card_exit (DeviceState *qdev) +static void ccid_card_unrealize (DeviceState *qdev,Error **errp) {CCIDCardState *card =CCID_CARD (qdev); +CCIDCardClass *cc =CCID_CARD_GET_CLASS (card);USBDevice *dev =USB_DEVICE (qdev->parent_bus->parent);USBCCIDState *s =USB_CCID_DEV (dev); +Error *local_err =NULL ;if (ccid_card_inserted (s)) {ccid_card_card_removed (card); } -ccid_card_exitfn (card); +if (cc->unrealize) { + cc->unrealize (card, &local_err); +if (local_err !=NULL ) { +error_propagate (errp, local_err); +return ; + } + } s->card =NULL ; -return 0 ; }static void ccid_card_realize (DeviceState *qdev,Error **errp)
@@ -1472,7 +1469,7 @@ static void ccid_card_class_init(ObjectClass *klass, void *data)DeviceClass *k =DEVICE_CLASS (klass); k->bus_type =TYPE_CCID_BUS ; k->realize = ccid_card_realize; - k->exit = ccid_card_exit; + k->unrealize = ccid_card_unrealize; k->props = ccid_props; }
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 1/5] usb: Remove legacy -usbdevice options (host, serial, disk and net)
In reply to Gerd HoffmannFrom: Thomas Huth <[email protected]>
The option have been marked as deprecated since QEMU 2.10, and so far nobody complained that the host, serial, disk and net options are urgently required anymore. So let's now get rid at least of this legacy pile, to simplify the usb code quite a bit.
This patch removes the usbdevices host, serial, disk and net. These devices use their own complicated parameter parsing mechanisms, so they are just ugly to maintain, without real benefit for the users (the users can use the corresponding "-device" parameters instead which have the same complexity as the "-usbdevice" devices here).
Note that the other rather simple -usbdevice options (mouse, tablet, etc.) are not removed yet (the code is really simple here, so it does not hurt much to keep it), as well as the two devices "braille" and "bt" which are easier to use with -usbdevice than with -device.
Message-id: [email protected]
[kraxel] delete some usb_host_device_open() leftovers.
--- include/hw/usb.h | 1 - hw/usb/dev-network.c | 26 ---------- hw/usb/dev-serial.c | 30 ----------- hw/usb/dev-storage.c | 58 --------------------- hw/usb/host-legacy.c | 144 --------------------------------------------------- hw/usb/host-stub.c | 6 --- vl.c | 15 ------ hw/usb/Makefile.objs | 2 +- qemu-options.hx | 19 ------- 9 files changed, 1 insertion(+), 300 deletions(-) delete mode 100644 hw/usb/host-legacy.c
include/hw/usb.h +0 -1
@@ -466,7 +466,6 @@ void usb_wakeup(USBEndpoint *ep, unsigned int stream);void usb_generic_async_ctrl_complete (USBDevice *s,USBPacket *p);/* usb-linux.c */ -USBDevice *usb_host_device_open (USBBus *bus,const char *devname);void hmp_info_usbhost (Monitor *mon,const QDict *qdict);bool usb_host_dev_is_scsi_storage (USBDevice *usbdev);
hw/usb/dev-network.c +0 -26
@@ -1382,31 +1382,6 @@ static void usb_net_instance_init(Object *obj) &dev->qdev, NULL); } -static USBDevice *usb_net_init (USBBus *bus,const char *cmdline) -{ -Error *local_err =NULL ; -USBDevice *dev; -QemuOpts *opts; -int idx; - - opts =qemu_opts_parse_noisily (qemu_find_opts ("net" ), cmdline, false); -if (!opts) { -return NULL ; - } -qemu_opt_set (opts,"type" ,"nic" , &error_abort); -qemu_opt_set (opts,"model" ,"usb" , &error_abort); - - idx =net_client_init (opts, false, &local_err); -if (local_err) { -error_report_err (local_err); -return NULL ; - } - - dev =usb_create (bus,"usb-net" ); -qdev_set_nic_properties (&dev->qdev, &nd_table[idx]); -return dev; -} -static const VMStateDescription vmstate_usb_net = { .name ="usb-net" , .unmigratable =1 ,
@@ -1446,7 +1421,6 @@ static const TypeInfo net_info = {static void usb_net_register_types (void ) {type_register_static (&net_info); -usb_legacy_register (TYPE_USB_NET ,"net" , usb_net_init); }type_init (usb_net_register_types)
hw/usb/dev-serial.c +0 -30
@@ -509,35 +509,6 @@ static void usb_serial_realize(USBDevice *dev, Error **errp) } } -static USBDevice *usb_serial_init (USBBus *bus,const char *filename) -{ -USBDevice *dev; -Chardev *cdrv; -char label[32 ]; -static int index; - -if (*filename ==':' ) { - filename++; - }else if (*filename) { -error_report ("unrecognized serial USB option %s" , filename); -return NULL ; - } -if (!*filename) { -error_report ("character device specification needed" ); -return NULL ; - } - -snprintf (label,sizeof (label),"usbserial%d" , index++); - cdrv =qemu_chr_new (label, filename); -if (!cdrv) -return NULL ; - - dev =usb_create (bus,"usb-serial" ); -qdev_prop_set_chr (&dev->qdev,"chardev" , cdrv); - -return dev; -} -static USBDevice *usb_braille_init (USBBus *bus,const char *unused) {USBDevice *dev;
@@ -624,7 +595,6 @@ static void usb_serial_register_types(void) {type_register_static (&usb_serial_dev_type_info);type_register_static (&serial_info); -usb_legacy_register ("usb-serial" ,"serial" , usb_serial_init);type_register_static (&braille_info);usb_legacy_register ("usb-braille" ,"braille" , usb_braille_init); }
hw/usb/dev-storage.c +0 -58
70 lines not on this page · raw message
hw/usb/host-legacy.c deleted +0 -144
144 lines not on this page · raw message
hw/usb/host-stub.c +0 -6
@@ -41,12 +41,6 @@ void hmp_info_usbhost(Monitor *mon, const QDict *qdict)monitor_printf (mon,"USB host devices not supported\n" ); } -/* XXX: modify configure to compile the right host driver */ -USBDevice *usb_host_device_open (USBBus *bus,const char *devname) -{ -return NULL ; -} -bool usb_host_dev_is_scsi_storage (USBDevice *ud) {return false;
vl.c +0 -15
@@ -1451,30 +1451,15 @@ static void igd_gfx_passthru(void)static int usb_device_add (const char *devname) {USBDevice *dev =NULL ; -#ifndef CONFIG_LINUX -const char *p; -#endif if (!machine_usb (current_machine)) {return -1 ; } -/* drivers with .usbdevice_name entry in USBDeviceInfo */ dev =usbdevice_create (devname); -if (dev) - goto done; - -/* the other ones */ -#ifndef CONFIG_LINUX -/* only the linux version is qdev-ified, usb-bsd still needs this */ -if (strstart (devname,"host:" , &p)) { - dev =usb_host_device_open (usb_bus_find (-1 ), p); - } -#endif if (!dev)return -1 ; -done:return 0 ; }
hw/usb/Makefile.objs +1 -1
@@ -43,7 +43,7 @@ redirect.o-libs = $(USB_REDIR_LIBS) # usb pass-through ifeq ($(CONFIG_USB_LIBUSB)$(CONFIG_USB),yy) -common-obj-y += host-libusb.o host-legacy.o +common-obj-y += host-libusb.o else common-obj-y += host-stub.o endif
qemu-options.hx +0 -19
@@ -1221,29 +1221,10 @@ Pointer device that uses absolute coordinates (like a touchscreen). This means QEMU is able to report the mouse position without having to grab the mouse. Also overrides the PS/2 mouse emulation when activated. -@item disk:[format=@var{format}]:@var{file} -Mass storage device based on file. The optional @var{format} argument -will be used rather than detecting the format. Can be used to specify -@code{format=raw} to avoid interpreting an untrusted format header. - -@item host:@var{bus}.@var{addr} -Pass through the host device identified by @var{bus}.@var{addr} (Linux only). - -@item host:@var{vendor_id}:@var{product_id} -Pass through the host device identified by @var{vendor_id}:@var{product_id} -(Linux only). - -@item serial:[vendorid=@var{vendor_id}][,productid=@var{product_id}]:@var{dev} -Serial converter to host character device @var{dev}, see @code{-serial} for the -available devices. - @item braille Braille device. This will use BrlAPI to display the braille output on a real or fake device. -@item net:@var{options} -Network adapter that supports CDC ethernet and RNDIS protocols. - @end table ETEXI
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 4/5] usb-ccid: inline ccid_card_initfn() in ccid_card_realize()
In reply to Gerd HoffmannFrom: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
--- hw/usb/dev-smartcard-reader.c | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-)
hw/usb/dev-smartcard-reader.c +7 -18
@@ -510,20 +510,6 @@ static void ccid_card_exitfn(CCIDCardState *card) } -static void ccid_card_initfn (CCIDCardState *card,Error **errp) -{ -CCIDCardClass *cc =CCID_CARD_GET_CLASS (card); -Error *local_err =NULL ; - -if (cc->realize) { - cc->realize (card, &local_err); -if (local_err !=NULL ) { -error_propagate (errp, local_err); -return ; - } - } -} -static bool ccid_has_pending_answers (USBCCIDState *s) {return s->pending_answers_num >0 ;
@@ -1302,6 +1288,7 @@ static int ccid_card_exit(DeviceState *qdev)static void ccid_card_realize (DeviceState *qdev,Error **errp) {CCIDCardState *card =CCID_CARD (qdev); +CCIDCardClass *cc =CCID_CARD_GET_CLASS (card);USBDevice *dev =USB_DEVICE (qdev->parent_bus->parent);USBCCIDState *s =USB_CCID_DEV (dev);Error *local_err =NULL ;
@@ -1315,10 +1302,12 @@ static void ccid_card_realize(DeviceState *qdev, Error **errp)error_setg (errp,"usb-ccid card already full, not adding" );return ; } -ccid_card_initfn (card, &local_err); -if (local_err !=NULL ) { -error_propagate (errp, local_err); -return ; +if (cc->realize) { + cc->realize (card, &local_err); +if (local_err !=NULL ) { +error_propagate (errp, local_err); +return ; + } } s->card = card; }
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 2/5] usb-storage: Fix share-rw option parsing
In reply to Gerd HoffmannFrom: Fam Zheng <[email protected]>
Because usb-storage creates an internal scsi device, we should propagate options. We already do so for bootindex etc, but failed to take care of share-rw. Fix it in an apparent way: add a new parameter to scsi_bus_legacy_add_drive and pass in s->conf.share_rw.
Message-id: [email protected]
--- include/hw/scsi/scsi.h | 1 + hw/scsi/scsi-bus.c | 9 ++++++++- hw/usb/dev-storage.c | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-)
include/hw/scsi/scsi.h +1 -0
@@ -151,6 +151,7 @@ static inline SCSIBus *scsi_bus_from_device(SCSIDevice *d)SCSIDevice *scsi_bus_legacy_add_drive (SCSIBus *bus,BlockBackend *blk,int unit,bool removable,int bootindex, +bool share_rw,const char *serial,Error **errp);void scsi_bus_legacy_handle_cmdline (SCSIBus *bus,bool deprecated);void scsi_legacy_handle_cmdline (void );
hw/scsi/scsi-bus.c +8 -1
@@ -224,6 +224,7 @@ static void scsi_qdev_unrealize(DeviceState *qdev, Error **errp)/* handle legacy '-drive if=scsi,...' cmd line args */ SCSIDevice *scsi_bus_legacy_add_drive (SCSIBus *bus,BlockBackend *blk,int unit,bool removable,int bootindex, +bool share_rw,const char *serial,Error **errp) {const char *driver;
@@ -254,6 +255,12 @@ SCSIDevice *scsi_bus_legacy_add_drive(SCSIBus *bus, BlockBackend *blk,object_unparent (OBJECT (dev));return NULL ; } +object_property_set_bool (OBJECT (dev), share_rw,"share-rw" , &err); +if (err !=NULL ) { +error_propagate (errp, err); +object_unparent (OBJECT (dev)); +return NULL ; + }object_property_set_bool (OBJECT (dev), true,"realized" , &err);if (err !=NULL ) {error_propagate (errp, err);
@@ -288,7 +295,7 @@ void scsi_bus_legacy_handle_cmdline(SCSIBus *bus, bool deprecated) } }scsi_bus_legacy_add_drive (bus,blk_by_legacy_dinfo (dinfo), - unit, false,-1 ,NULL , &error_fatal); + unit, false,-1 , false,NULL , &error_fatal); }loc_pop (&loc); }
hw/usb/dev-storage.c +2 -1
@@ -633,7 +633,8 @@ static void usb_msd_storage_realize(USBDevice *dev, Error **errp)scsi_bus_new (&s->bus,sizeof (s->bus),DEVICE (dev), &usb_msd_scsi_info_storage,NULL ); scsi_dev =scsi_bus_legacy_add_drive (&s->bus, blk,0 , !!s->removable, - s->conf.bootindex, dev->serial, + s->conf.bootindex, s->conf.share_rw, + dev->serial, errp);blk_unref (blk);if (!scsi_dev) {
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 3/5] hw/usb/ccid: Make ccid_card_init() take an error parameter
In reply to Gerd HoffmannFrom: Mao Zhongyi <[email protected]>
Replace init() of CCIDCardClass with realize, then convert ccid_card_init(), ccid_card_initfn() and it's callbacks to take an Error** in ordor to report the error more clearly.
Message-id: [email protected]
--- hw/usb/ccid.h | 2 +- hw/usb/ccid-card-emulated.c | 44 +++++++++++++++++++++---------------------- hw/usb/ccid-card-passthru.c | 12 ++++++------ hw/usb/dev-smartcard-reader.c | 37 ++++++++++++++++++++---------------- 4 files changed, 50 insertions(+), 45 deletions(-)
hw/usb/ccid.h +1 -1
@@ -34,7 +34,7 @@ typedef struct CCIDCardClass {const uint8_t *apdu, uint32_t len);void (*exitfn)(CCIDCardState *card); -int (*initfn)(CCIDCardState *card); +void (*realize)(CCIDCardState *card,Error **errp); } CCIDCardClass;/*
hw/usb/ccid-card-emulated.c +22 -22
105 lines not on this page · raw message
hw/usb/ccid-card-passthru.c +6 -6
@@ -14,6 +14,7 @@#include "qemu/error-report.h" #include "qemu/sockets.h" #include "ccid.h" +#include "qapi/error.h" #define DPRINTF (card, lvl, fmt, ...) \ do { \
@@ -337,29 +338,28 @@ static const uint8_t *passthru_get_atr(CCIDCardState *base, uint32_t *len)return card->atr; } -static int passthru_initfn (CCIDCardState *base) +static void passthru_realize (CCIDCardState *base,Error **errp) {PassthruState *card =PASSTHRU_CCID_CARD (base); card->vscard_in_pos =0 ; card->vscard_in_hdr =0 ;if (qemu_chr_fe_backend_connected (&card->cs)) { -DPRINTF (card,D_INFO ,"initing chardev\n" ); +error_setg (errp,"ccid-card-passthru: initing chardev" );qemu_chr_fe_set_handlers (&card->cs, ccid_card_vscard_can_read, ccid_card_vscard_read, ccid_card_vscard_event,NULL , card,NULL , true);ccid_card_vscard_send_init (card); }else { -error_report ("missing chardev" ); -return -1 ; +error_setg (errp,"missing chardev" ); +return ; } card->debug =parse_debug_env ("QEMU_CCID_PASSTHRU_DEBUG" ,D_VERBOSE , card->debug);assert (sizeof (DEFAULT_ATR ) <=MAX_ATR_SIZE );memcpy (card->atr,DEFAULT_ATR ,sizeof (DEFAULT_ATR )); card->atr_length =sizeof (DEFAULT_ATR ); -return 0 ; }static VMStateDescription passthru_vmstate = {
@@ -387,7 +387,7 @@ static void passthru_class_initfn(ObjectClass *klass, void *data)DeviceClass *dc =DEVICE_CLASS (klass);CCIDCardClass *cc =CCID_CARD_CLASS (klass); - cc->initfn = passthru_initfn; + cc->realize = passthru_realize; cc->get_atr = passthru_get_atr; cc->apdu_from_guest = passthru_apdu_from_guest;set_bit (DEVICE_CATEGORY_INPUT , dc->categories);
hw/usb/dev-smartcard-reader.c +21 -16
@@ -510,14 +510,18 @@ static void ccid_card_exitfn(CCIDCardState *card) } -static int ccid_card_initfn (CCIDCardState *card) +static void ccid_card_initfn (CCIDCardState *card,Error **errp) {CCIDCardClass *cc =CCID_CARD_GET_CLASS (card); +Error *local_err =NULL ; -if (cc->initfn) { -return cc->initfn (card); +if (cc->realize) { + cc->realize (card, &local_err); +if (local_err !=NULL ) { +error_propagate (errp, local_err); +return ; + } } -return 0 ; }static bool ccid_has_pending_answers (USBCCIDState *s)
@@ -1295,27 +1299,28 @@ static int ccid_card_exit(DeviceState *qdev)return 0 ; } -static int ccid_card_init (DeviceState *qdev) +static void ccid_card_realize (DeviceState *qdev,Error **errp) {CCIDCardState *card =CCID_CARD (qdev);USBDevice *dev =USB_DEVICE (qdev->parent_bus->parent);USBCCIDState *s =USB_CCID_DEV (dev); -int ret =0 ; +Error *local_err =NULL ;if (card->slot !=0 ) { -warn_report ("usb-ccid supports one slot, can't add %d" , - card->slot); -return -1 ; +error_setg (errp,"usb-ccid supports one slot, can't add %d" , + card->slot); +return ; }if (s->card !=NULL ) { -warn_report ("usb-ccid card already full, not adding" ); -return -1 ; +error_setg (errp,"usb-ccid card already full, not adding" ); +return ; } - ret =ccid_card_initfn (card); -if (ret ==0 ) { - s->card = card; +ccid_card_initfn (card, &local_err); +if (local_err !=NULL ) { +error_propagate (errp, local_err); +return ; } -return ret; + s->card = card; }static void ccid_realize (USBDevice *dev,Error **errp)
@@ -1477,7 +1482,7 @@ static void ccid_card_class_init(ObjectClass *klass, void *data) {DeviceClass *k =DEVICE_CLASS (klass); k->bus_type =TYPE_CCID_BUS ; - k->init = ccid_card_init; + k->realize = ccid_card_realize; k->exit = ccid_card_exit; k->props = ccid_props; }
Signature · 1 line
2.9.3
Peter Maydell
AppliedQuoted 8 lines · Gerd Hoffmann
The following changes since commit
2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125' into staging (2018-01-25 17:04:47 +0000)
are available in the git repository at:
git://git.kraxel.org/qemutags/usb-20180126-v3-pull-request
Quoted 8 lines
for you to fetch changes up to
80ae865468bde918363a123aa26c6fc4385023ac:usb-ccid: convert
CCIDCardClass::exitfn()->unrealize()(2018-01-26 07:59:33 +0100)----------------------------------------------------------------
usb: -usbdevice cleanups, storage fix, QOMify ccid.----------------------------------------------------------------
Applied, thanks.
-- PMM