public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Stefan Reiter <s.reiter@proxmox.com>
Subject: [pve-devel] applied: [PATCH v3 manager 3/3] ui: add support for adding TPM devices
Date: Tue, 5 Oct 2021 07:34:24 +0200	[thread overview]
Message-ID: <91bec9a1-9b85-3cd0-08b7-9c7196a9acb8@proxmox.com> (raw)
In-Reply-To: <20211004152921.2839809-4-s.reiter@proxmox.com>

On 04.10.21 17:29, Stefan Reiter wrote:
> Inspired by HDEfi for efidisks. Extends the DiskStorageSelector to allow
> hiding the format, since tpmstate can only be stored in 'raw' format
> (even on directory storages).
> 
> Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
> ---
>  www/manager6/Makefile                    |  1 +
>  www/manager6/Utils.js                    |  2 +-
>  www/manager6/form/DiskStorageSelector.js |  5 +-
>  www/manager6/qemu/HDMove.js              |  1 +
>  www/manager6/qemu/HDTPM.js               | 88 ++++++++++++++++++++++++
>  www/manager6/qemu/HardwareView.js        | 25 ++++++-
>  6 files changed, 119 insertions(+), 3 deletions(-)
>  create mode 100644 www/manager6/qemu/HDTPM.js
> 
>

applied, thanks!

But I'm once again remebered that the sepcial disk like efidisk and now tpmstate
are really weird when being removed, as they get marked as unused disk and when
one tries to re-attach them they'll act like they really are a disk.

But, this is nothing new and its the dropping of information is also a nuisance
for "real" disks, if one has properties set like bus, wwn, ... they're all lost
and re-attaching means recreating all of them, if we'd try to save as much as
possible of those things for unused disks too we could allow to prefill that
information on the re-attach dialogue and also differ between normal disks and
special disks like efi or tpm here. but that's for another seires ;)




      reply	other threads:[~2021-10-05  5:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 15:29 [pve-devel] [PATCH v3 0/3] Initial TPM support for VMs Stefan Reiter
2021-10-04 15:29 ` [pve-devel] [PATCH v3 storage 1/3] import: don't check for 1K aligned size Stefan Reiter
2021-10-05  4:24   ` [pve-devel] applied: " Thomas Lamprecht
2021-10-04 15:29 ` [pve-devel] [PATCH v3 qemu-server 2/3] fix #3075: add TPM v1.2 and v2.0 support via swtpm Stefan Reiter
2021-10-05  5:30   ` [pve-devel] applied: " Thomas Lamprecht
2021-10-04 15:29 ` [pve-devel] [PATCH v3 manager 3/3] ui: add support for adding TPM devices Stefan Reiter
2021-10-05  5:34   ` Thomas Lamprecht [this message]

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=91bec9a1-9b85-3cd0-08b7-9c7196a9acb8@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=s.reiter@proxmox.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal